ggstatsplot (version 0.0.11)

stats_type_switch: Switch function to determine which type of statistics is to be run.

Description

Takes in all allowed characters describing the needed type of test and converts it into standard terms to reduce the complexity of conditional statements.

Usage

stats_type_switch(stats.type)

Arguments

stats.type

Character describing the needed type of statistics (e.g., "parametric", "nonparametric", "robust", `"bayes"``, etc.).