
Calculate Coefficient of Variation
cv.RdCalculate Coefficient of Variation
Details
The coefficient of variation is calculated as: $$CV = \frac{\sigma}{\mu}$$
where:
\(\sigma\) = standard deviation
\(\mu\) = mean
See also
Other statistics:
cor_df(),
geom_cv(),
geom_mean(),
geom_sd()
Examples
cv(c(1, 2, 1, 1, 2, 1, 2, 3))
#> [1] 0.4578608