skew: Calculate Univariate Skewness for a Vector or Matrix

View source: R/skew.R

skewR Documentation

Calculate Univariate Skewness for a Vector or Matrix

Description

Calculate univariate skewness for vector or matrix (algorithm G1 in Joanes & Gill, 1998).

Usage

skew(x)

Arguments

x

Either a vector or matrix of numeric values.

Value

Skewness for each column in x.

Author(s)

Niels Waller

References

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

See Also

kurt

Examples


x <- matrix(rnorm(1000), 100, 10)
skew(x)


fungible documentation built on May 29, 2024, 8:28 a.m.