[R] Object is not a matrix Error

2009-12-20 Thread John Paul Telthorst
I'm trying to follow this guide here: http://www.ats.ucla.edu/stat/r/modules/dummy_vars.htm In which I'm creating categorical variables using the factor function. I am able to go through the example listed above and have everything work, however, when I try to input my own numbers, I get an

Re: [R] Object is not a matrix Error

2009-12-20 Thread jim holtman
Where is the object 'write'? SHouldn't you be using: lm(visits ~ (day.f)) On Sun, Dec 20, 2009 at 5:59 PM, John Paul Telthorst jpteltho...@gmail.comwrote: I'm trying to follow this guide here: http://www.ats.ucla.edu/stat/r/modules/dummy_vars.htm In which I'm creating categorical

Re: [R] Object is not a matrix Error

2009-12-20 Thread Joe King
-project.org] On Behalf Of jim holtman Sent: Sunday, December 20, 2009 3:11 PM To: John Paul Telthorst Cc: r-help@r-project.org Subject: Re: [R] Object is not a matrix Error Where is the object 'write'? SHouldn't you be using: lm(visits ~ (day.f)) On Sun, Dec 20, 2009 at 5:59 PM, John Paul Telthorst