Learn R Programming

agricolae (version 1.1-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

  • xThe skewness of x

See Also

kurtosis

Examples

Run this code
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 DataLab