# S3 method for default
kurtosis(x, na.rm = FALSE, method = c("excess", "moment", "fisher"), ...)
# S3 method for data.frame
kurtosis(x, ...)
# S3 method for POSIXct
kurtosis(x, ...)
# S3 method for POSIXlt
kurtosis(x, ...)
Value
kurtosis
returns the value of the statistics, a numeric value. An
attribute which reports the used method is added.
Arguments
na.rm
a logical. Should missing values be removed?
method
a character string which specifies the method of computation.
These are either "moment", "fisher", or "excess".
If "excess" is
selected, then the value of the kurtosis is computed by the
"moment" method and a value of 3 will be subtracted.
The "moment" method is based on the definitions of
kurtosis for distributions; these forms should
be used when resampling (bootstrap or jackknife). The
"fisher" method correspond to the usual "unbiased"
definition of sample variance, although in the case of
kurtosis exact unbiasedness is not possible.