powered by
Compute the skewness of a probability distribution.
ds_skewness(x, data = NULL, na.rm = FALSE)
a numeric vector
a data.frame or tibble
data.frame
tibble
a logical value indicating whether NA values should be stripped before the computation proceeds.
Sheskin, D.J. (2000) Handbook of Parametric and Nonparametric Statistical Procedures, Second Edition. Boca Raton, Florida: Chapman & Hall/CRC.
kurtosis
# NOT RUN { ds_skewness(mtcars$mpg) ds_skewness(mpg, mtcars) # }
Run the code above in your browser using DataLab