View source: R/variance_functions.R
CV | R Documentation |
CV
is a function that allows the calculation of the
coefficient of variation for a vector of numbers.
CV(x)
x |
numeric vector. |
CV estimate for x.
Other Error Estimates:
RSE()
,
SE()
# Examples set.seed(1234) CV(rnorm(100)) # Observed Data (Red Porgy data set) data(RedPorgy) CV(x = RedPorgy$R1.Age)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.