stdH | R Documentation |
stdH
: computes the standard deviation of a distributionStandard deviation of a histogram (i.e., the square root of the centered second moment)
stdH(object) ## S4 method for signature 'distributionH' stdH(object)
object |
a |
A value for the standard deviation
Antonio Irpino
## ---- A mydist distribution ---- mydist <- distributionH(x = c(1, 2, 3, 10), p = c(0, 0.1, 0.5, 1)) ## ---- Compute the standard deviation of mydist ---- stdH(mydist) #---> 2.563851
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.