get.histo | R Documentation |
get.histo
: show the distribution with binsThis functon return a data.frame describing the histogram of a distributionH
object.
get.histo(object)
## S4 method for signature 'distributionH'
get.histo(object)
object |
a |
A matrix: the two columns contains the bounds of the histogram the third contains the probablity (or the relative frequency) of the bin.
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.