Calculate moments of a numeric vector
calc_moments(x)
x
a numeric vector
a named vector of descriptive statistics
x <- rexp(1000, 2) calc_moments(x)