kurtosis | R Documentation |
Kurtosis is a measure of the "tailedness" of the probability distribution of a real-valued random variable. A normal distribution has a kurtosis of 3 and a excess kurtosis of 0.
kurtosis(x, na.rm = FALSE, excess = FALSE)
## Default S3 method:
kurtosis(x, na.rm = FALSE, excess = FALSE)
## S3 method for class 'matrix'
kurtosis(x, na.rm = FALSE, excess = FALSE)
## S3 method for class 'data.frame'
kurtosis(x, na.rm = FALSE, excess = FALSE)
x |
a vector of values, a matrix or a data.frame |
na.rm |
a logical to indicate whether |
excess |
a logical to indicate whether the excess kurtosis should be returned, defined as the kurtosis minus 3. |
skewness()
kurtosis(rnorm(10000))
kurtosis(rnorm(10000), excess = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.