calc_cv | R Documentation |
Computation of the coefficient of variation (CV).
calc_cv(x, as_perc = FALSE)
x |
A numeric vector |
as_perc |
A boolean value, if TRUE the function will multiply the CV by 100 (default = FALSE) |
A numeric single value with the computed CV.
x <- rnorm(100,1)
calc_cv(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.