R/skewness.R

skewness <-
function(x) sqrt(length(x))*sum((x - mean(x))^3)/(sum((x - mean(x))^2)^(3/2))

Try the cumstats package in your browser

Any scripts or data that you put into this service are public.

cumstats documentation built on May 2, 2019, 3:04 a.m.