[R] Converting a number column to a factor in a data frame?

Jonathan Greenberg greenberg at ucdavis.edu
Sun Feb 15 00:10:08 CET 2004


Is there an easy way of taking a dataframe which is comprised of only
numbers, and converting one of the integer columns to a factor column?  How
do I go about this?

--j

-- 
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.cstars.ucdavis.edu/~jongreen
http://www.cstars.ucdavis.edu
AIM: jgrn307 or jgrn3007
MSN: jgrn307 at msn.com or jgrn3007 at msn.com




More information about the R-help mailing list