Description Usage Arguments Value Examples
Performs analysis of variance on a model already fitted through linearRegression
1 | anova(model)
|
model |
a model fit through linearRegression |
an analysis of variance table
1 2 3 | fit<-linearRegression(dist~speed, cars); anova(fit)
fit2<-linearRegression(mpg~cyl+disp+hp+wt+cyl:disp+disp:wt+cyl:disp:hp, dat=mtcars); anova(fit2)
y<-rnorm(100); x<-rnorm(100); fit3<-linearRegression(y~x, subs=1:50); anova(fit3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.