skewness: Sample Skewness

View source: R/ci_skew_and_kurtosis.R

skewnessR Documentation

Sample Skewness

Description

Calculates sample skewness. A value of 0 refers to a perfectly symmetric distribution.

Usage

skewness(z, na.rm = TRUE)

Arguments

z

A numeric vector.

na.rm

Logical flag indicating whether to remove missing values or not. Default is TRUE.

Value

Numeric vector of length 1.

See Also

moment(), kurtosis()

Examples

skewness(1:10)
skewness(rexp(100))

confintr documentation built on June 7, 2023, 6:24 p.m.