skew | R Documentation |
Computes the skewness statistic.
skew(x, na.rm = TRUE, method = "fisher")
x |
any numeric vector. |
na.rm |
logical; if TRUE, then remove missing value before computation. |
method |
the method to use for computing the skew, must be "fisher" or "moments." |
a single value representing the skewness of the data in x
.
Helsel, D.R. and Hirsch, R.M., 2002, Statistical methods in
water resources: U.S. Geological Survey Techniques of Water-Resources
Investigations, book 4, chap. A3, 522 p.
skew(c(1.0, 1.2, 1.5, 1.9, 2.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.