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, ...)
Retourne des objets
a table with the F-tests
a table with the t-tests
the formula for the model 'y~x1+x2+x1:x2'
a data-frame
(where relevant) information returned by model.frame on the special handling of NAs.
other arguments, cf the function lm
Francois Husson husson@agrocampus-ouest.fr
## 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
Run the code above in your browser using DataLab