[R] factorizing many columns of a dataframe

From: Gregory Gentlemen <gregory_gentlemen_at_yahoo.ca>
Date: Sun 23 Oct 2005 - 10:54:42 EST


Hi guys,  

I have a large number of columns of a dataframe that I want to apply a common factorization to; the columns are all numeric and the factorization collapses some of these values into common groups (labels). How can I do this systematically? Is there an analog to sapply that can pass columns as vectors to FUN?  

Thanks in advance,
Gregory Gentlemen                 


        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Oct 23 11:04:52 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:40:46 EST