confidence_intervals: Produce pairwise confidence intervals after one-way ANOVA.

Description Usage Arguments Details Value Examples

Description

pairwise_lsd_confint() and pairwise_bonf_confint() produce Fisher's Least Significant Difference and Bonferroni confidence intervals, respectively, for differences between group means after one-way ANOVA.

Usage

1
2
3
pairwise_lsd_confint(aov, level = 0.95)

pairwise_bonf_confint(aov, level = 0.95)

Arguments

aov

An aov object containing a one-way ANOVA.

level

A decimal confidence level for the confidence intervals.

Details

These functions are currently designed to handle only one-way ANOVA objects.

Value

The output will be a data.frame with the following columns:

Examples

1
2
3
4
5
6
7
iris_aov <- aov(Sepal.Length ~ Species, iris)
pairwise_lsd_confint(iris_aov)
if (requireNamespace("knitr", quietly = TRUE)) {
    knitr::kable(pairwise_bonf_confint(iris_aov))
} else {
    pairwise_bonf_confint(iris_aov)
}

ricompute/llusmstats documentation built on May 24, 2019, 6:18 a.m.