Learn R Programming

pcadapt (version 1.0)

kurtosis: Kurtosis

Description

kurtosis computes the kurtosis of a given distribution x.

Usage

kurtosis(x, prop = 0)

Arguments

x
a numeric vector.
prop
a value between 0 and 1 specifying the proportion of the distribution that is removed when computing the kurtosis. Default value set to 0.

Examples

Run this code
x <- rnorm(10000)
kurtosis(x, prop = 0.2)

Run the code above in your browser using DataLab