Learn R Programming

rapport (version 0.51)

kurtosis: Kurtosis

Description

Calculates kurtosis coefficient for given variable (see is.variable), matrix or a data.frame.

Usage

kurtosis(x, na.rm = FALSE)

Arguments

x
a variable, matrix or a data.frame
na.rm
should NAs be removed before computation?

References

Tenjovic, L. (2000). Statistika u psihologiji - prirucnik. Centar za primenjenu psihologiju.

Examples

Run this code
set.seed(0)
x <- rnorm(100)
kurtosis(x)
kurtosis(matrix(x, 10))
kurtosis(mtcars)
rm(x)

Run the code above in your browser using DataLab