Learn R Programming

dlookr (version 0.6.3)

kurtosis: Kurtosis of the data

Description

This function calculated kurtosis of given data.

Usage

kurtosis(x, na.rm = FALSE)

Value

numeric. calculated kurtosis

Arguments

x

a numeric vector.

na.rm

logical. Determine whether to remove missing values and calculate them. The default is TRUE.

See Also

skewness.

Examples

Run this code
set.seed(123)
kurtosis(rnorm(100))

Run the code above in your browser using DataLab