moments (version 0.14)

skewness: Skewness of the sample

Description

This function computes skewness of given data.

Usage

skewness(x, na.rm = FALSE)

Arguments

x

a numeric vector, matrix or data frame.

na.rm

logical. Should missing values be removed?

See Also

agostino.test

Examples

Run this code
# NOT RUN {
set.seed(1234)
skewness(rnorm(1000))
# }

Run the code above in your browser using DataLab