View source: R/input_handling.R
check_stat | R Documentation |
Checks provided stat(s) to see if they are valid designators. Takes certain abbreviations/alternate spellings. Accepted values are: mean, m sd, standard deviation, s cov, covar, covariance, c
check_stat(
stat,
stats_avail = c("mean", "m", "sd", "standard deviation", "s", "cov", "covar",
"covariance", "c", "n", "number")
)
stat |
string |
stats_avail |
abbreviations allowed |
TRUE if available; throws error otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.