Preparing caption in case pairwise comparisons are displayed.
pairwise_p_caption(type, var.equal = FALSE, paired = FALSE,
p.adjust.method = "holm", caption = NULL, ...)Type of statistic expected ("parametric" or "nonparametric"
or "robust" or "bayes").Corresponding abbreviations are also accepted:
"p" (for parametric), "np" (nonparametric), "r" (robust), or
"bf"resp.
a logical variable indicating whether to treat the
variances in the samples as equal. If TRUE, then a simple F
test for the equality of means in a one-way analysis of variance is
performed. If FALSE, an approximate method of Welch (1951)
is used, which generalizes the commonly known 2-sample Welch test to
the case of arbitrarily many samples.
a logical indicating whether you want a paired t-test.
Adjustment method for p-values for multiple
comparisons. Possible methods are: "holm" (default), "hochberg",
"hommel", "bonferroni", "BH", "BY", "fdr", "none".
The text for the plot caption.
Additional arguments.