Learn R Programming

descriptr (version 0.1.0)

skewness: Skewness

Description

Compute the skewness of a probability distribution.

Usage

skewness(x)

Arguments

x

a numeric vector containing the values whose skewness is to be computed

Value

Skewness of x

Details

Any NA values are stripped from x before computation takes place.

References

Sheskin, D.J. (2000) Handbook of Parametric and Nonparametric Statistical Procedures, Second Edition. Boca Raton, Florida: Chapman & Hall/CRC.

See Also

kurtosis

Examples

Run this code
skewness(mtcars$mpg)

Run the code above in your browser using DataLab