R/kurtosis.R

kurtosis <-
function(x) length(x)*sum((x - mean(x))^4)/(sum((x - mean(x))^2)^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.