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.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to