twoWayNonParamFactPlots | R Documentation |
This functions returns a list of Box Plots .
twoWayNonParamFactPlots(
data,
dv,
ivs,
non,
pwcs,
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 Two-Way test |
dv |
a character string containing the variable used as y-axis |
ivs |
a character vector containing the variables used as x-axis in Two-Way test |
non |
the ANOVA statistical results returned by rstatix::anova_test |
pwcs |
the list of statistical results returned from pairwise comparisons between groups from rstatix |
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 list of ggplot objects with the Two-Way plots
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.