An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120529/4f923189/attachment.pl>
Factor problem
2 messages · Raúl Bajo, R. Michael Weylandt
Please don't double post. (And see my reply to your other thread) Michael
On Tue, May 29, 2012 at 1:50 PM, Ra?l Bajo <raulbajob at gmail.com> wrote:
HI! I am working with a table with quantitative and qualitative data; one of the columns is "Level of education", which is an ordered factor. I want to get rid of the ordered factor, and set my own scale. How to do that? All the time I get the following error: In `[<-.factor`(`*tmp*`, educa = "Less than high school", value = 3) : ?invalid factor level, NAs generated Thanks, Ra?l ? ? ? ?[[alternative HTML version deleted]]
______________________________________________ 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.