powered by
get.m
This functon return the mean of a distributionH object.
distributionH
get.m(object)# S4 method for distributionH get.m(object)
# S4 method for distributionH get.m(object)
a distributionH object
A numeric value
# NOT RUN { D=distributionH(x=c(1,2,3,4),p=c(0,0.2,0.6, 1)) get.m(D) #returns the mean of D # }
Run the code above in your browser using DataLab