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.
anova.mean(object, n, ybar, s, ..., ylabel = "ylabel")
- level names
- sample size for each level
- sample mean for each level
- sample standard deviation for each level
- other arguments (not used)
- name of response variable
## 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) <- "FVC" names(pulmonary) <- "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")
Looks like there are no examples yet.