Learn R Programming

fungible (version 1.91)

kurt: Calculate Univariate Kurtosis for a Vector or Matrix

Description

Calculate univariate kurtosis for a vector or matrix (algorithm G2 in Joanes & Gill, 1998).

Usage

kurt(x)

Arguments

x

Either a vector or matrix of numeric values.

Value

Kurtosis for each column in x.

References

Joanes, D. N. & Gill, C. A. (1998). Comparing measures of sample skewness and kurtosis. The Statistician, 47, 183-189.

See Also

skew

Examples

Run this code
# NOT RUN {
x <- matrix(rnorm(1000), 100, 10)
print(kurt(x))

# }

Run the code above in your browser using DataLab