powered by
Numeric CV% of a sample
numcv(x, ...)
Percent cv
numeric vector
other arguments for sd() and mean()
test_x <- rnorm(1000, mean=50, sd=5) cv <- numcv(test_x) cv # expect ~ 10(%)
Run the code above in your browser using DataLab