oneWayAncovaPlots: One-Way ANCOVA Plots

View source: R/ancova_plots.R

oneWayAncovaPlotsR Documentation

One-Way ANCOVA Plots

Description

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

Usage

oneWayAncovaPlots(
  data,
  dv,
  ivs,
  aov,
  pwcs,
  addParam = c(),
  font.label.size = 14,
  step.increase = 0.25,
  p.label = "p.adj.signif",
  subtitle = c()
)

Arguments

data

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

aov

the ANCOVA statistical results returned by rstatix::anova_test

pwcs

the list of statistical results returned from pairwise comparisons between groups from rstatix

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 expression used in the p-values in the plot

subtitle

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

Value

A list of ggplot objects with the Two-Way ANOVA plots


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