kurtosis: Calculate the Kurtosis of Set of Numeric Values

Description Usage Arguments Value Note Author(s) Examples

Description

Calculates the kurtosis of a set of numeric values (assumed to be from a sample).

Usage

1
kurtosis(x, na.rm=TRUE)

Arguments

x

A numeric vector.

na.rm

If TRUE (default) observations with a missing value of x are removed before applying the test.

Value

Numeric. Returns the value of the calculated kurtosis.

Note

A near direct copy of solution posted by Wolfgang Koller at https://stat.ethz.ch/pipermail/r-help/1999-July/004529.html

Author(s)

Paul Williamson

Examples

1
2
## Calculate the kurtosis of a sample
kurtosis(survey$Height)

DrPaulWilliamson/ENVS450 documentation built on May 9, 2019, 3:23 a.m.