stat_extract | R Documentation |
calculates the requested statistic for a numeric vector. NAs are removed prior to analysis
stat_extract(eda_object, fun, stat_name, plain = FALSE, ...)
eda_object |
an eda object. |
fun |
a statistic calculation function, should return a single numeric. |
stat_name |
name of the statistic included in the output data frame. |
plain |
logical, should the output be coerced to a single vector? |
... |
extra argument passed to fun. |
a tibble or a numeric value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.