Page 259 - Applied Statistics with R
P. 259
12.6. R MARKDOWN 259
summary(aov(breaks ~ wool * tension, data = warpbreaks))
## Df Sum Sq Mean Sq F value Pr(>F)
## wool 1 451 450.7 3.765 0.058213 .
## tension 2 2034 1017.1 8.498 0.000693 ***
## wool:tension 2 1003 501.4 4.189 0.021044 *
## Residuals 48 5745 119.7
## ---
## Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Using an of 0.05 the ANOVA test finds that the interaction is significant, so
we use the interaction model here.
12.6 R Markdown
The R Markdown file for this chapter can be found here:
• anova.Rmd
The file was created using R version 4.1.0.

