agricolae (version 1.2-8)

skewness: Finding the skewness coefficient

Description

It returns the skewness of a distribution. It is similar to SAS.

Usage

skewness(x)

Arguments

x

a numeric vector

Value

The skewness of x.

See Also

kurtosis

Examples

Run this code
# NOT RUN {
library(agricolae)
x<-c(3,4,5,2,3,4,NA,5,6,4,7)
skewness(x)
# value is 0,3595431, is slightly asimetrica (positive) to the right
# }

Run the code above in your browser using DataCamp Workspace