get.m | R Documentation |
get.m
: the mean of a distributionThis functon return the mean of a distributionH
object.
get.m(object) ## S4 method for signature 'distributionH' get.m(object)
object |
a |
A numeric value
D <- distributionH(x = c(1, 2, 3, 4), p = c(0, 0.2, 0.6, 1)) get.m(D) # returns the mean of D
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.