>>>>> "Na" == Na Li <nali at biostat.umn.edu> writes: > x <- c(1, 3, 1) > y <- factor (x) > y > [1] 1 3 1 > Levels: 1 3 > as.numeric (y) > [1] 1 2 1 Ah, now I get it - thanks! Mike