kurtosis {e1071} | R Documentation |
Computes the kurtosis.
kurtosis(x, na.rm=FALSE)
x |
a numeric vector containing the values whose kurtosis is to be computed. |
na.rm |
a logical value indicating whether NA values
should be stripped before the computation proceeds. |
If N = length(x), then the kurtosis of x is defined as
N^(-1) sd(x)^(-4) sum_i (x_i - mean(x))^4 - 3.
The kurtosis of x
.
x <- rnorm(100) kurtosis(x)