This function computes the percent coefficient of variation of the values in x. If na.rm is TRUE then missing values are removed before computation proceeds.
Examples
cv(c(5, 6, 3, 4, 5, NA), na.rm = TRUE)
#> [1] 24.7864222848
This function computes the percent coefficient of variation of the values in x. If na.rm is TRUE then missing values are removed before computation proceeds.
cv(c(5, 6, 3, 4, 5, NA), na.rm = TRUE)
#> [1] 24.7864222848