[R] Factor function for coded numerical values
maths123
linda_007 at hotmail.co.uk
Thu Nov 22 22:12:25 CET 2012
I have s data set where 2 of the columns give the coded versions of the
factors A and B. Factor A is coded with 1, 2, 3. Factor B is coded with 1,2.
How do use the factor function to convert these variables into factors, and
also use the labels= command to give them a more informative name?
--
View this message in context: http://r.789695.n4.nabble.com/Factor-function-for-coded-numerical-values-tp4650483.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list