ggstatsplot (version 0.0.9)

pairwise_p_caption: Preparing caption in case pairwise comparisons are displayed.

Description

Preparing caption in case pairwise comparisons are displayed.

Usage

pairwise_p_caption(type, var.equal = FALSE, paired = FALSE,
  p.adjust.method = "holm", caption = NULL, ...)

Arguments

type

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.

var.equal

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.

paired

a logical indicating whether you want a paired t-test.

p.adjust.method

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

caption

The text for the plot caption.

...

Additional arguments.