Description Usage Arguments Examples
View source: R/stats_type_switch.R
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.
1 |
type |
A character specifying the type of statistical approach:
You can specify just the initial letter. |
stats_type_switch("p")
1 | #> [1] "parametric"
|
stats_type_switch("bf")
1 | #> [1] "bayes"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.