powered by
An overriding show function for a distributionH object. The function returns a representation of the histogram, if the number of bins is high the central part of the histogram is truncated.
distributionH
# S4 method for distributionH show(object)
a distributionH object
## ---- initialize a distributionH mydist <- distributionH(x = c(7, 8, 10, 15), p = c(0, 0.2, 0.7, 1)) # show the histogram mydist
Run the code above in your browser using DataLab