Takes in all allowed characters describing the needed type of test and converts it into standard terms to reduce the complexity of conditional statements.
stats_type_switch(stats.type)
Character describing the needed type of statistics (e.g.,
"parametric"
, "nonparametric"
, "robust"
, `"bayes"``, etc.).