Description Usage Arguments Details Value Examples
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.
1 2 3 | pairwise_lsd_confint(aov, level = 0.95)
pairwise_bonf_confint(aov, level = 0.95)
|
aov |
An |
level |
A decimal confidence level for the confidence intervals. |
These functions are currently designed to handle only one-way ANOVA objects.
The output will be a data.frame
with the following columns:
Groups: A character string showing which group means are being compared.
Difference: The difference between the group means.
Lower: The lower bound of the confidence interval.
Upper: The upper bound of the confidence interval.
Sig: A logical indicating whether the difference between group means is significant at the given confidence level. If TRUE
, the confidence interval does not contain 0.
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.