powered by
get.histo
This functon return a data.frame describing the histogram of a distributionH object.
distributionH
get.histo(object)# S4 method for distributionH get.histo(object)
# S4 method for distributionH get.histo(object)
A matrix: the two columns contains the bounds of the histogram the third contains the probablity (or the relative frequency) of the bin.
a distributionH object.
D <- distributionH(x = c(1, 2, 3, 4), p = c(0, 0.2, 0.6, 1)) get.histo(D) # returns the histogram representation of D by a data.frame
Run the code above in your browser using DataLab