R-Help Forum

 

If I have a data frame consisting of say ten (10) variables
(A,B,C,D,E,F,G,H,I,J) and I want to change Variables 2,7,8,and 9 to factors
is there a command such that I can do it in one line or do I simply have to
convert each separately?

 

Jeff


        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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