Description Usage Arguments Details Author(s) See Also
Simple integer-valued histograms, for displaying count distributions.
1 | simplehist( x , round=TRUE , ylab="Frequency" , ... )
|
x |
Vector of values to construct histogram from |
round |
When |
ylab |
Label on vertical axis |
... |
Other parameters to pass to plot |
This function constructs clean histograms for count data. Non-integer data can be rounded to nearest integer before plotting. Internally, this function is little more than plot(table(x)).
Richard McElreath
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.