skewness | R Documentation |
Skewness
skewness(x, sample = FALSE, na.rm = FALSE)
x |
numerical vector. |
sample |
logical. Compute sample skewness or apply correction? |
na.rm |
logical. Should missing values be removed? |
The value of the skewness. If sample = FALSE
a correction for sample size is applied.
# skewness of the height in EUR2170 data
skewness(EUR2170$height, sample = TRUE)
# adults only
skewness(EUR2170$height[EUR2170$age > 20], sample = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.