ggPlotFactNonParam | R Documentation |
This function create box plots to report factorial non-parametric test.
ggPlotFactNonParam(
data,
x,
y,
color = c(),
non,
pwc,
linetype = color,
by = c(),
addParam = c(),
font.label.size = 14,
step.increase = 0.25,
type = NULL,
p.label = "p.adj.signif",
subtitle = c()
)
data |
a data.frame containing the data in which performing the ANOVA test |
x |
a character string containing the name of variable used as x-axis |
y |
a character string containing the name of variable used as y-axis |
color |
a vector or character string containing the name of variable used as color in the box-plot |
non |
the non-parametric statistical results returned by rstatix |
pwc |
the statistical results returned by a pairwise comparisons between groups from rstatix |
linetype |
the character string indicating the column in data for changing linetype |
by |
the character vector containing the columns in the data to be used as variable to generate the grouping panels |
addParam |
the character vector with elements to be included in the plot (e.g. "dotplot", "jitter", "boxplot", "point", "mean", "mean_se", "mean_sd", "mean_ci", "mean_range", "median", "median_iqr", "median_mad", "median_range"); see ?desc_statby for more details. |
font.label.size |
the integer value with the font label size |
step.increase |
the numeric vector to be used to minimize the overlap |
p.label |
the label used for p-values |
subtitle |
the subtitle in the plot, use number to indicate the row from non-parametric table |
A ggplot object with the non.parametric plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.