skewH | R Documentation |
skewH
: computes the skewness of a distributionSkewness of a histogram (using the third standardized moment)
skewH(object)
## S4 method for signature 'distributionH'
skewH(object)
object |
a |
A value for the skewness index
Antonio Irpino
## ---- A mydist distribution ----
mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1))
## ---- Compute the skewness of mydist ----
skewH(mydist) #---> -1.186017
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.