powered by
Computes the coefficient of variation of a vector.
cv(x, abs = TRUE, pc = TRUE)
numeric vector.
logical. If TRUE the coefficient is expressed in absolute value.
TRUE
logical. If TRUE the coefficient is expressed in percentage.
The function deals with missing values.
# NOT RUN { cv(rnorm(30)) # }
Run the code above in your browser using DataLab