Description Usage Arguments Value Examples
Generates a function to be used as the breaks=
argument of
hist
, to ensure bins of a given, fixed width will be used
1 |
w |
the required bin width in x-units |
align |
an optional value at which some bin boundary will align. |
... |
additional parameters, currently not used |
a breaks function to be used by hist
1 | hist(~log(crim), MASS::Boston, binWidth(0.35, align = 0), fill = pal_desert)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.