View source: R/ggplot-barchart.R
ggplot.histogram | R Documentation |
Create a nice plot for Histograms Create a nice looking plot complete with axes using ggplot.
## S3 method for class 'histogram'
ggplot(data, ..., spine = FALSE)
data |
plot to display, object created by |
... |
arguments passed through to the ggplot function |
spine |
(not implemented currently) whether to display the barchart as a spine plot |
Barret Schloerke schloerke@gmail.com
library(ggplot2)
print(ggplot(dd_example("barchart")))
print(ggplot(dd_example("histogram")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.