powered by
get.s
This functon return the standard deviation of a distributionH object.
distributionH
get.s(object)# S4 method for distributionH get.s(object)
# S4 method for distributionH get.s(object)
A numeric positive value, the standard deviation.
a distributionH object.
D <- distributionH(x = c(1, 2, 3, 4), p = c(0, 0.2, 0.6, 1)) get.s(D) # returns the standard deviation of D
Run the code above in your browser using DataLab