Description Usage Arguments Details References See Also Examples
Basic histograms that follow USQ colour and typography guidelines that uses (hopefully) sensible defaults.
1 2 3 4 5 6 7 8 9 10 |
x |
a vector of values for which the histogram is desired. |
main |
Main title. Optional, if not supplied it will be blank. |
sub |
Sub title below x-axis label. Optional, if not supplied it will be blank. |
xlab |
X-axis label. Optional, if not supplied will be taken from data. |
ylab |
Y-axis label. Optional, if not supplied will default to "Count". |
breaks |
Either |
col |
Colour to use as fill and outline for boxes and outlier points as a digit. Defaults to "usq charcoal". There are fifteen colours that can be used, see Details for more. |
... |
Arguments to be passed to methods, such as graphical parameters
(see |
Names of colours for use in plots from the USQ Visual Identity Palette are
available from link{usq_cols}
.
Scott, D.W. (1979) On optimal and data-based histograms. Biometrika, 66, 605–610.
Hyndman, R. J., The Problem with Sturges’ Rule for Constructing Histograms, 1995, Monash University, https://www.robjhyndman.com/papers/sturges.pdf.
hist
for full documentation of the basic
histogram capabilities
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.