Learn R Programming

descriptr (version 0.1.0)

kurtosis: Kurtosis

Description

Compute the kurtosis of a probability distribution.

Usage

kurtosis(x)

Arguments

x

a numeric vector containing the values whose kurtosis is to be computed

Value

Kurtosis of x

Details

Any NA values are stripped from x before computation takes place.

References

Sheskin, D.J. (2000) Handbook of Parametric and Nonparametric Statistical Procedures, Second Edition. Boca Raton, Florida: Chapman & Hall/CRC.

See Also

skewness

Examples

Run this code
kurtosis(mtcars$mpg)

Run the code above in your browser using DataLab