[R] as.integer

aledanda danda.galli at gmail.com
Mon Jun 7 16:04:31 CEST 2010


Hi,

Is there a way to recursively change the variables imported with
read.table(..) - and then attached with attach(..) - from as.factor to
as.integer?
I have about 9 variables that are now recognized as factors but I need to do
statistics on them so I need to change them in as.integer. It works, but I
wonder if there is a way to to this for all the variables in one go. 

Thanks a lot for your help

Ale
-- 
View this message in context: http://r.789695.n4.nabble.com/as-integer-tp2245987p2245987.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list