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
x
a numeric vector or object.
...
arguments to be passed.
Value
kurtosis
returns the value of the statistics, a numeric value. An
attribute which reports the used method is added.
Details
This function was ported from the RMetrics package fUtilities to eliminate a dependency on fUtiltiies being loaded every
time. This function is identical except for the addition of checkData.