View source: R/switch-functions.R
stats_type_switch | 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")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.