Model of class anova

anova_2

Format

An object of class anova (inherits from data.frame) with 8 rows and 5 columns.

Examples

data <- iris data$Cat1 <- rep(c("X", "X", "Y"), length.out = nrow(data)) data$Cat2 <- rep(c("A", "B"), length.out = nrow(data)) anova(lm(Sepal.Length ~ Species * Cat1 * Cat2, data = data))
#> Analysis of Variance Table #> #> Response: Sepal.Length #> Df Sum Sq Mean Sq F value Pr(>F) #> Species 2 63.212 31.6061 115.2760 <2e-16 *** #> Cat1 1 0.003 0.0026 0.0096 0.9221 #> Cat2 1 0.002 0.0017 0.0061 0.9380 #> Species:Cat1 2 0.278 0.1388 0.5061 0.6039 #> Species:Cat2 2 0.514 0.2569 0.9369 0.3943 #> Cat1:Cat2 1 0.251 0.2508 0.9147 0.3405 #> Species:Cat1:Cat2 2 0.073 0.0367 0.1338 0.8749 #> Residuals 138 37.836 0.2742 #> --- #> Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1