Utility function to draw histograms with more options than hist
allows.
1 2 |
height |
Height of histogram bars. |
breaks |
Locations of boundaries of histogram bins (must be 1 longer than |
lineonly |
If TRUE, uses |
outline |
If TRUE, draws only the outline (profile) of the histogram; else draws each complete bar. |
fill |
If TRUE, uses polygon() to fill barsl in this case valid arguments to polygon() are passed via argument(s) "...". If fill==FALSE, valid arguments to plot() or lines() are passed via argument(s) "..." |
ylim |
Range of y-axis. |
xlab |
Label for x-axis. |
ylab |
Label for y-axis. |
... |
See aargument |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.