Description Usage Arguments Value
A function to plot a nice histogram - one that uses ggplot2 but has sensible break behaviour in R. Produces a single histogram but is mostly called internally for things like plotPosts.
1 |
fill |
The colour to fill the bars with |
breaks |
The algorithgm to calculate breaks. Defaults to "scott", can also be "fandd" |
title |
The title of the plot, defaults to off. |
parameter |
The a vecotr of values that you want a histogram of. |
A histogram with nice ggplot aesthetics, and good bin widths.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.