[R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED FACTOR?)

2012-05-29 Thread RBB
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

Re: [R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED FACTOR?)

2012-05-29 Thread R. Michael Weylandt
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

Re: [R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED FACTOR?)

2012-05-29 Thread Bert Gunter
...and On Tue, May 29, 2012 at 1:04 PM, R. Michael Weylandt michael.weyla...@gmail.com wrote: 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

Re: [R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED FACTOR?)

2012-05-29 Thread arun
6   HighSchool 1 7  College 2 8  College 2 9  College 2 A.K. - Original Message - From: RBB raulba...@gmail.com To: r-help@r-project.org Cc: Sent: Tuesday, May 29, 2012 2:01 PM Subject: [R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED

Re: [R] PROBLEMS with In `[-.factor`(`*tmp*`, (¿ORDERED FACTOR?)

2012-05-29 Thread David Winsemius
On May 29, 2012, at 11:01 AM, RBB 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