Read this: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example
Read the posting guide: http://www.R-project.org/posting-guide.html and try again. It's entirely impossible to help you as is. Michael On Tue, May 29, 2012 at 2:01 PM, RBB <raulba...@gmail.com> wrote: > HI!!! > > I have a table containing qualitative and quantitative data; one of the > columns contains "Level of education", and the possibilities are "none", > "High school", "college"; I want to give the value 0 to "none", the value 1 > to "High school", and 2 to "college", but I got the following error: > > In `[<-.factor`(`*tmp*`, educa = "college", value = 2) : > invalid factor level, NAs generated > > > WHAT IS WRONG????? :S :S :S > > > THANKS A LOT!!!!!!!!!!!!!! > > -- > View this message in context: > http://r.789695.n4.nabble.com/PROBLEMS-with-In-factor-tmp-ORDERED-FACTOR-tp4631736.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. ______________________________________________ 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.