On 28/07/2008, at 3:26 PM, Edna Bell wrote:

Dear R list:

I have a data set that I would like to bring it.  The fourth column
shows as numeric, but I want it to be a factor.  Is there a way to do
this from the read.table statement, or should I just wait and use the
factor function please?

Look at the colClasses argument to read.table().

        cheers,

                Rolf Turner

######################################################################
Attention:\ This e-mail message is privileged and confid...{{dropped:9}}

______________________________________________
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