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

skewness(x)

Arguments

x

a numeric vector

Value

The skewness of x.

See also

Examples

library(agricolae) x<-c(3,4,5,2,3,4,NA,5,6,4,7) skewness(x)
#> [1] 0.3595431
# value is 0,3595431, is slightly asimetrica (positive) to the right