[R] Learning ANOVA
eriki at ccbr.umn.edu
Mon Aug 16 17:41:34 CEST 2010
Stephen Liu wrote:
> ----- Original Message ----
> From: "Liaw, Andy" <andy_liaw at merck.com>
> To: Stephen Liu <satimis at yahoo.com>; r-help at r-project.org
> Sent: Mon, August 16, 2010 8:22:33 PM
> Subject: RE: [R] Learning ANOVA
> - snip -
>> Well-written model fitting functions should be called like this:
>> modelfn(var1 ~ var2 + var3, data=df, ...)
> Hi Andy,
> Thanks for your advice.
>> 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.
More information about the R-help