cv | R Documentation |
Calculate the coefficient of variation a vector of numbers, as SD(x) / mean(x)
.
This function does NOT calculate percent CV - that requires multiplying the returned
values by 100.
cv(x, na.rm = FALSE)
x |
numeric vector or matrix |
na.rm |
logical. Should missing values be removed? |
a single numeric value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.