layout | title | nav_order | has_children | parent | grand_parent | has_toc |
---|---|---|---|---|---|---|
default |
Histogram |
1 |
false |
Data Distribution |
Examples |
false |
hist(data);
See result
More examples:
The histogram
object creates the histogram edges and bins when the draw
function is called for the first time with lazy evaluation. Lazy evaluation avoids calculating edges unnecessarily in case the user changes the object parameters before calling draw
. This object includes several algorithms for automatically delimiting the edges and bins for the histograms.