View source: R/summarise_coef_of_variation.R
summarise_coef_of_variation | R Documentation |
Calculates the coefficient of variation (CV = sd / mean) for numeric vectors, matrices, data frames, or tibbles.
summarise_coef_of_variation(x)
x |
A numeric vector, matrix, data frame, or tibble. |
A tibble: - If input has one numeric column or is a numeric vector: a tibble with a single value. - If input has multiple numeric columns: a tibble with variable names and coefficient of variation values.
summarise_coef_of_variation(iris)
summarise_coef_of_variation(iris$Petal.Length)
summarise_coef_of_variation(data.frame(a = rnorm(100), b = runif(100)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.