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",

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

2012-05-29 Thread arun
none 0 3 none 0 4   HighSchool 1 5   HighSchool 1 6   HighSchool 1 7  College 2 8  College 2 9  College 2 A.K. - Original Message - From: RBB To: r-help@r-project.org Cc: Sent: Tuesday, May 29, 2012 2:01

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 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 impossible to help

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 wrote: > HI!!! > > I h

[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: