skewness: Skewness

View source: R/kurtosis.R

skewnessR Documentation

Skewness

Description

Calculates skewness coefficient for given variable (see is.variable), matrix or a data.frame.

Usage

skewness(x, na.rm = TRUE)

Arguments

x

a variable, matrix or a data.frame

na.rm

should NAs be removed before computation?

References

Tenjovic, L. (2000). Statistika u psihologiji - prirucnik. Centar za primenjenu psihologiju.

Examples

set.seed(0)
x <- rnorm(100)
skewness(x)
skewness(matrix(x, 10))
skewness(mtcars)
rm(x)

rapportools documentation built on March 22, 2022, 1:06 a.m.