oneWayNonParamFactPlots: One-Way Factorial Non-Parametric Plots

View source: R/plots.R

oneWayNonParamFactPlotsR Documentation

One-Way Factorial Non-Parametric Plots

Description

This functions returns a list of Box Plots related to One-Way test.

Usage

oneWayNonParamFactPlots(
  data,
  dv,
  ivs,
  non,
  pwcs,
  addParam = c(),
  font.label.size = 14,
  step.increase = 0.25,
  type = NULL,
  p.label = "p.adj.signif",
  subtitle = c()
)

Arguments

data

a data.frame containing the data in which performing the One-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 One-Way test

non

the non-parametric 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

Value

A list of ggplot objects with the One-Way plots


geiser/rshinystatistics documentation built on Feb. 18, 2024, 6:07 p.m.