Compute the kurtosis of a probability distribution.
ds_kurtosis(x, data = NULL, na.rm = FALSE)
x | a numeric vector |
---|---|
data | a |
na.rm | a logical value indicating whether NA values should be stripped before the computation proceeds. |
Sheskin, D.J. (2000) Handbook of Parametric and Nonparametric Statistical Procedures, Second Edition. Boca Raton, Florida: Chapman & Hall/CRC.
ds_skewness
ds_kurtosis(mtcars$mpg)#> [1] -0.02200629ds_kurtosis(mpg, mtcars)#> [1] -0.02200629