| cv | R Documentation |
Coefficient of variation
cv(x, na.rm = TRUE)
CV(x, na.rm = TRUE)
x |
data a numeric vector, matrix, or data frame. |
na.rm |
if |
numSummary creates neatly formatted tables of means, standard deviations, coefficients of variation, skewness, kurtosis, and quantiles of numeric variables. CV computes the coefficient of variation.
cv returns the coefficient(s) of variation.
John Fox
data(Prestige)
print(cv(Prestige[,c("income", "education")]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.