Description Usage Arguments Value Author(s) See Also Examples
This function is a wrapper for the hist
function in
the base
package, permitting percentage scaling of the
vertical axis in addition to frequency and density scaling.
1 2 |
x |
a vector of values for which a histogram is to be plotted. |
groups |
a factor to create histograms by group with common horizontal and vertical scales. |
scale |
the scaling of the vertical axis: |
xlab |
x-axis label, defaults to name of variable. |
ylab |
y-axis label, defaults to value of |
main |
main title for graph, defaults to empty. |
breaks |
see the |
... |
arguments to be passed to |
This function returns NULL
, and is called for its side effect —
plotting a histogram.
John Fox jfox@mcmaster.ca
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.