twoWayAncovaBoxPlots: Two-Way ANCOVA Box Plots

View source: R/ancova_plots.R

twoWayAncovaBoxPlotsR Documentation

Two-Way ANCOVA Box Plots

Description

This functions returns a list of Plots related to two-Way ANCOVA test.

Usage

twoWayAncovaBoxPlots(
  data,
  dv,
  ivs,
  aov,
  pwcs,
  covar = c(),
  pre.post = c(),
  color = c(),
  theme = c(),
  step.increase = 0.05,
  subtitle = c(),
  ylim = NA
)

Arguments

data

a data.frame containing the data in which performing the ANOVA test

dv

a column name of dependent variable

ivs

a list of columns that represents independent variables

aov

the ANOVA statistical results returned by rstatix::anova_test

pwcs

the statistical results returned by a pairwise comparisons between groups from rstatix

covar

a column name of covariance variable

pre.post

a column name of time variable (pre- and post-test phases)

color

a vector containing the colors in the box-plot

theme

the theme used in the bar plot

step.increase

the numeric vector to be used to minimize the overlap

subtitle

the subtitle in the plot, use number to indicate the row from ANCOVA table

ylim

the number that indicates the axis-y limit


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