powered by
Calculate univariate skewness for vector or matrix (algorithm G1 in Joanes & Gill, 1998).
skew(x)
Either a vector or matrix of numeric values.
Niels Waller
Joanes, D. N. & Gill, C. A. (1998). Comparing measures of sample skewness and kurtosis. The Statistician, 47, 183-189.
kurt
x <- matrix(rnorm(1000), 100, 10) skew(x)
Run the code above in your browser using DataLab