[R] convert factors to numbers

jim holtman jholtman at gmail.com
Thu Nov 20 21:33:30 CET 2008


FAQ 7.10

or use colClasses to define your input

On Thu, Nov 20, 2008 at 3:12 PM, thoeb <t.hoebinger at gmail.com> wrote:
>
> Hello, I have a problem with reading a csv-file. One colum of the inputfile
> consists of characters and numbers. After reading the csv-file I create a
> new dataframe by dividing the values of that colum into more colums (then a
> colum contains just characters or numbers) but the numbers are converted to
> factors. How can I create the new dataframe without having the numbers
> converted to factors?
>
> -----
> Tamara Hoebinger
> University of Vienna
> --
> View this message in context: http://www.nabble.com/convert-factors-to-numbers-tp20609049p20609049.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list