ggstatsplot (version 0.0.12)

ggbetweenstats_switch: Switch function to use helper function to create subtitle for the ggbetweenstats plot.

Description

Switch function to use helper function to create subtitle for the ggbetweenstats plot.

Usage

ggbetweenstats_switch(type, test, ...)

ggwithinstats_switch(type, test, ...)

Arguments

type

Type of statistic expected ("parametric" or "nonparametric" or "robust" or "bayes").Corresponding abbreviations are also accepted: "p" (for parametric), "np" (nonparametric), "r" (robust), or "bf"resp.

test

Decides which test to run (can be either "t-test" or "anova").

...

Arguments for respective subtitle helper function.