Learn R Programming

descriptr (version 0.5.2)

ds_kurtosis: Kurtosis

Description

Compute the kurtosis of a probability distribution.

Usage

ds_kurtosis(x, data = NULL, na.rm = FALSE)

Arguments

x

a numeric vector

data

a data.frame or tibble

na.rm

a logical value indicating whether NA values should be stripped before the computation proceeds.

References

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

See Also

ds_skewness

Examples

Run this code
# NOT RUN {
ds_kurtosis(mtcars$mpg)
ds_kurtosis(mpg, mtcars)
# }

Run the code above in your browser using DataLab