Compute the skewness of a probability distribution.

ds_skewness(x, na.rm = FALSE)

Arguments

x a numeric vector containing the values whose skewness is to be computed a logical value indicating whether NA values should be stripped before the computation proceeds.

Value

Skewness of x

Details

Any NA values are stripped from x before computation takes place.

Deprecated Function

skewness() has been deprecated. Instead use ds_skewness().

References

Sheskin, D.J. (2000) Handbook of Parametric and Nonparametric Statistical Procedures, Second Edition. Boca Raton, Florida: Chapman & Hall/CRC.

kurtosis
ds_skewness(mtcars\$mpg)#> [1] 0.6723771