modelfn(count ~ spray, data=test01)
Error: could not find function "modelfn"

What will be +var3 ?
I think the general advice applied to your specific situation was meant to suggest using the construct:
InsectSprays.aov <- aov(count ~ spray, data=InsectSprays)

rather than:
InsectSprays.aov <- aov(InsectSprays$count ~ InsectSprays$spray)


----- Original Message ----- From: "Stephen Liu" <sati...@yahoo.com>
To: <r-help@r-project.org>
Sent: Monday, August 16, 2010 11:01 AM
Subject: Re: [R] Learning ANOVA


----- Original Message ----

From: Erik Iverson <er...@ccbr.umn.edu>
To: Stephen Liu <sati...@yahoo.com>
Cc: r-help@r-project.org
Sent: Mon, August 16, 2010 11:41:34 PM
Subject: Re: [R] Learning ANOVA

modelfn(count ~ spray, data=test01)
Error: could not find function "modelfn"

What will be +var3 ?


This is just a generic example.  modelfn can be any modeling
function, e.g., lm, glm, gam, etc.

Hi Erik,

Is it aov a modeling function?

If YES whether the command is;

InsectSprays.aov <- aov(count ~ spray, data=test01)
?

I can't resolve what will be "+var3"?


B.R.
Stephen L



______________________________________________
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.

Reply via email to