Learn R Programming

pairwiseComparisons (version 2.0.1)

pairwise_caption: Expression containing details about pairwise comparison test

Description

This returns an expression containing details about the pairwise comparison test and the p-value adjustment method. These details are typically included in ggstatsplot package plots as a caption.

Usage

pairwise_caption(caption, test.description, p.adjust.method)

Arguments

caption

Additional text to be included in the plot.

test.description

Text describing the details of the test.

p.adjust.method

Adjustment method for p-values for multiple comparisons. Possible methods are: "holm" (default), "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", "none".

Examples

Run this code
# NOT RUN {
library(pairwiseComparisons)
pairwise_caption("my caption", "Student's t-test", "holm")
# }

Run the code above in your browser using DataLab