ggplot.ddplot {DescribeDisplay} | R Documentation |
Create a nice plot Create a nice looking plot complete with axes using ggplot.
Description
Create a nice plot Create a nice looking plot complete with axes using ggplot.
Usage
## S3 method for class 'ddplot'
ggplot(data, ..., axis.location = c(0.2, 0.2))
Arguments
data |
plot to display, object created by |
... |
arguments passed to the grob function |
axis.location |
grob function to use for drawing |
Author(s)
Hadley Wickham h.wickham@gmail.com
Examples
library(ggplot2)
print(ggplot(dd_example("xyplot")))
print(ggplot(dd_example("tour2d")))
print(ggplot(dd_example("tour1d")))
print(ggplot(dd_example("plot1d")))
print(
ggplot(dd_example("plot1d")) +
geom_segment(aes(x = x, xend = x, y = 0, yend = y), size = 0.3)
)
[Package DescribeDisplay version 0.2.11 Index]