skewness {cumstats} | R Documentation |
Skewness
Description
This function computes skewness of given numeric data.
Usage
skewness(x)
Arguments
x |
a numeric vector. |
Value
A numeric value of skewness. Returns NA
if x
contains NA
value(s), and NaN
if length(unique(x))==1
is TRUE
.
Author(s)
Adapted by Arturo Erdely from moments
R package by Lukasz Komsta.
References
Komsta, L. and Novomestky, F. (2015). moments: Moments, cumulants, skewness, kurtosis and related tests. R package version 0.14. https://CRAN.R-project.org/package=moments
See Also
Examples
skewness(c(9, 1, 3, 0))
[Package cumstats version 1.0 Index]