Description Usage Arguments Details Value Author(s) Examples
Compute vectors associated with 1-way ANOVA
1 2 3 4 |
x |
a formula. |
... |
additional arguments. |
data |
a data frame. |
This is primarily designed for demonstration purposes to show how 1-way ANOVA models partition variance. It may not work properly for more complicated models.
A data frame with variables including grandMean
,
groupMean
, ObsVsGrand
, STotal
, ObsVsGroup
,
SError
, GroupVsGrand
, and STreatment
. The usual SS
terms can be computed from these by summing.
Randall Pruim
1 2 | aov(pollution ~ location, data=airpollution)
vaov(pollution ~ location, data=airpollution)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.