AovSum | R Documentation |
Analysis of variance with the contrasts sum (the sum of the coefficients is 0)
Test for all the coefficients
Handle missing values
AovSum(formula, data, na.action = na.omit, ...)
formula |
the formula for the model 'y~x1+x2+x1:x2' |
data |
a data-frame |
na.action |
(where relevant) information returned by model.frame on the special handling of NAs. |
... |
other arguments, cf the function |
Retourne des objets
Ftest |
a table with the F-tests |
Ttest |
a table with the t-tests |
Francois Husson francois.husson@institut-agro.fr
aov
, lm
## Example two-way anova
data(senso)
res <- AovSum(Score~ Product + Day , data=senso)
res
## Example two-way anova with interaction
data(senso)
res2 <- AovSum(Score~ Product + Day + Product : Day, data=senso)
res2
## Example ancova
data(footsize)
res3 <- AovSum(footsize ~ size + sex + size : sex, data=footsize)
res3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.