Re: [R] Error when using anova(lm())

2010-10-08 Thread David Winsemius
On Oct 8, 2010, at 1:17 PM, Alison Callahan wrote: Hi again On Fri, Oct 8, 2010 at 1:13 PM, David Winsemius > wrote: On Oct 8, 2010, at 1:09 PM, Alison Callahan wrote: See below. On Fri, Oct 8, 2010 at 1:01 PM, David Winsemius > wrote: On Oct 8, 2010, at 12:46 PM, Alison Callahan wrote

Re: [R] Error when using anova(lm())

2010-10-08 Thread David Winsemius
On Oct 8, 2010, at 1:09 PM, Alison Callahan wrote: See below. On Fri, Oct 8, 2010 at 1:01 PM, David Winsemius > wrote: On Oct 8, 2010, at 12:46 PM, Alison Callahan wrote: Hello all, I am trying to perform an ANOVA on some data in a data frame, but when I try to use lm(), I get the foll

Re: [R] Error when using anova(lm())

2010-10-08 Thread Alison Callahan
Hi again On Fri, Oct 8, 2010 at 1:13 PM, David Winsemius wrote: > > On Oct 8, 2010, at 1:09 PM, Alison Callahan wrote: > >> See below. >> >> On Fri, Oct 8, 2010 at 1:01 PM, David Winsemius >> wrote: >>> >>> On Oct 8, 2010, at 12:46 PM, Alison Callahan wrote: >>> Hello all, I am tr

Re: [R] Error when using anova(lm())

2010-10-08 Thread Alison Callahan
See below. On Fri, Oct 8, 2010 at 1:01 PM, David Winsemius wrote: > > On Oct 8, 2010, at 12:46 PM, Alison Callahan wrote: > >> Hello all, >> >> I am trying to perform an ANOVA on some data in a data frame, but when >> I try to use lm(), I get the following error: >> >> Error in storage.mode(y) <-

Re: [R] Error when using anova(lm())

2010-10-08 Thread David Winsemius
On Oct 8, 2010, at 12:46 PM, Alison Callahan wrote: Hello all, I am trying to perform an ANOVA on some data in a data frame, but when I try to use lm(), I get the following error: Error in storage.mode(y) <- "double" : invalid to change the storage mode of a factor In addition: Warning messa

[R] Error when using anova(lm())

2010-10-08 Thread Alison Callahan
Hello all, I am trying to perform an ANOVA on some data in a data frame, but when I try to use lm(), I get the following error: Error in storage.mode(y) <- "double" : invalid to change the storage mode of a factor In addition: Warning message: In model.response(mf, "numeric") : using type="nu