skew {MSMU} | R Documentation |
Compute Sample Skewness
Description
Calculates the skewness of a numeric vector. A positive value indicates right skew (long right tail), while a negative value indicates left skew (long left tail). A zero value represents symmetry
Usage
skew(x)
Arguments
x |
A numeric vector. |
Value
A single numeric value representing the skewness of the distribution.
Examples
# Skew of Sepal Lengths in iris
data("iris")
skew(iris$Sepal.Length)
[Package MSMU version 0.1.2 Index]