Description Usage Arguments Details Value Author(s) Examples

Compute vectors associated with 1-way ANOVA

1 2 3 | ```
vaov(x, ...)
vaov.formula(x, data = parent.frame(), ...)
``` |

`x` |
a formula. |

`data` |
a data frame. |

`...` |
additional arguments. |

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, airpollution)
vaov(pollution ~ location, airpollution)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.