Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

AovSum

Analysis of variance with the contrasts sum (the sum of the coefficients is 0)


Description

Analysis of variance with the contrasts sum (the sum of the coefficients is 0)
Test for all the coefficients
Handle missing values

Usage

AovSum(formula, data, na.action = na.omit, ...)

Arguments

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 lm

Value

Retourne des objets

Ftest

a table with the F-tests

Ttest

a table with the t-tests

Author(s)

See Also

Examples

## 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

FactoMineR

Multivariate Exploratory Data Analysis and Data Mining

v2.4
GPL (>= 2)
Authors
Francois Husson, Julie Josse, Sebastien Le, Jeremy Mazet
Initial release
2020-12-09

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.