[R] factor levels > numeric values
Gerrit.Eichner at math.uni-giessen.de
Wed Nov 12 15:06:01 CET 2014
take a look at the beginning of the "Warning" section of ?factor.
Hth -- Gerrit
> Hi everybody,
> I have another question (to which I could not find an answer in my r-books.
> I am sure, it's not a great issue, but I simply lack of a good idea how to
> solve this:
> One of my variables gets imported as a factor instead of a numeric variable.
> Now I have a...
> Factor w/ 63 levels "0","0.02","0.03",..: 1 NA NA 1 NA NA 1 1 53 10 ...
> How can I transform these factor levels into actual values?
> Thank you very much for any help!
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help