# anova.mean

From HH v2.1-29
by Richard Heiberger

##### ANOVA table from the group sample sizes, means, and standard deviations.

Oneway ANOVA table from the summary information consisting of group sample sizes, means, and standard deviations. The full dataset is not needed.

- Keywords
- models

##### Usage

`anova.mean(object, n, ybar, s, ..., ylabel = "ylabel")`

##### Arguments

- object
- level names
- n
- sample size for each level
- ybar
- sample mean for each level
- s
- sample standard deviation for each level
- ...
- other arguments (not used)
- ylabel
- name of response variable

##### Value

##### See Also

`anova.lm`

in S-Plus
and `anova.lm`

in R. `plot.mmc.multicomp`

##### Examples

```
## pulmonary data used in Hsu and Peruggia paper defining the mean-mean plot
## See ?plot.mmc.multicomp for details on the dataset.
pulmonary <- read.table(hh("datasets/pulmonary.dat"), header=TRUE,
row.names=NULL)
names(pulmonary)[3] <- "FVC"
names(pulmonary)[1] <- "smoker"
pulmonary$smoker <- factor(pulmonary$smoker, levels=pulmonary$smoker)
row.names(pulmonary) <- pulmonary$smoker
pulmonary
anova.mean(pulmonary$smoker,
pulmonary$n,
pulmonary$FVC,
pulmonary$s,
ylabel="pulmonary")
```

*Documentation reproduced from package HH, version 2.1-29, License: GPL (>= 2)*

### Community examples

Looks like there are no examples yet.