View source: R/descriptive_functions.R
rel_dis | R Documentation |
Calculates the coefficient of variation (relative dispersion) of a variable. The relative dispersion is defined as the standard deviation over the arithmetic mean.
rel_dis(x)
x |
A numerical variable. NA's observations are removed by default. |
The coefficient of variation (relative dispersion).
height <- rnorm(100, 170, 8)
rel_dis(height)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.