skewness | R Documentation |
Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean.
When negative ('left-skewed'): the left tail is longer; the mass of the distribution is concentrated on the right of a histogram. When positive ('right-skewed'): the right tail is longer; the mass of the distribution is concentrated on the left of a histogram. A normal distribution has a skewness of 0.
skewness(x, na.rm = FALSE)
## Default S3 method:
skewness(x, na.rm = FALSE)
## S3 method for class 'matrix'
skewness(x, na.rm = FALSE)
## S3 method for class 'data.frame'
skewness(x, na.rm = FALSE)
x |
a vector of values, a matrix or a data.frame |
na.rm |
a logical value indicating whether |
kurtosis()
skewness(runif(1000))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.