[R] read.table question

From: Edna Bell <edna.bell01_at_gmail.com>
Date: Sun, 27 Jul 2008 22:26:45 -0500

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?

Edna Bell

R-help_at_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. Received on Mon 28 Jul 2008 - 03:32:21 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 28 Jul 2008 - 04:32:53 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive