Learn R Programming

DescribeDisplay (version 0.2.11)

ggplot.histogram: Create a nice plot for Histograms Create a nice looking plot complete with axes using ggplot.

Description

Create a nice plot for Histograms Create a nice looking plot complete with axes using ggplot.

Usage

# S3 method for histogram
ggplot(data, ..., spine = FALSE)

Arguments

data

plot to display, object created by dd_load()

...

arguments passed through to the ggplot function

spine

(not implemented currently) whether to display the barchart as a spine plot

Author

Barret Schloerke schloerke@gmail.com

Examples

Run this code
library(ggplot2)
print(ggplot(dd_example("barchart")))
print(ggplot(dd_example("histogram")))

Run the code above in your browser using DataLab