stats_type_switch {statsExpressions} | R Documentation |
Relevant mostly for {ggstatsplot}
and {statsExpressions}
packages, where
different statistical approaches are supported via this argument: parametric,
non-parametric, robust, and Bayesian. This switch function converts strings
entered by users to a common pattern for convenience.
stats_type_switch(type)
type |
A character specifying the type of statistical approach:
You can specify just the initial letter. |
stats_type_switch("p") stats_type_switch("bf")