kurtosis {rapportools}R Documentation

Kurtosis

Description

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

Usage

kurtosis(x, na.rm = TRUE)

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

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

[Package rapportools version 1.1 Index]