vaov | R Documentation |
Compute vectors associated with 1-way ANOVA
vaov(x, ...)
## S3 method for class 'formula'
vaov(x, data = parent.frame(), ...)
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.
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.