kurt {COINr} | R Documentation |
Calculates kurtosis of the values of a numeric vector. This uses the same definition of kurtosis as
as the "kurtosis()" function in the e1071 package, where type == 2
, which is equivalent to the definition of kurtosis used in Excel.
kurt(x, na.rm = FALSE)
x |
A numeric vector. |
na.rm |
Set |
A kurtosis value (scalar).
x <- runif(20)
kurt(x)