>>>>> "Na" == Na Li <[EMAIL PROTECTED]> 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

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to