varcoefficient {SETGEN} | R Documentation |
Calculate variation coefficient of the elements of a numeric vector: sd(x)/abs(mean(x)).
varcoefficient(x)
x |
A numeric vector. |
The variation coefficient of the elements of x
.
Rosolowski, M. maciej.rosolowski@imise.uni-leipzig.de
x <- 1:5 varcoefficient(x) # 0.5270463