Learn R Programming

dlookr (version 0.5.0)

kurtosis: Kurtosis of the data

Description

This function calculated kurtosis of given data.

Usage

kurtosis(x, na.rm = FALSE)

Arguments

x

a numeric vector.

na.rm

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

Value

numeric. calculated kurtosis

See Also

skewness.

Examples

Run this code
# NOT RUN {
set.seed(123)
kurtosis(rnorm(100))
# }

Run the code above in your browser using DataLab