Learn R Programming

ggplot2 (version 2.0.0)

summary.ggplot: Displays a useful description of a ggplot object

Description

Displays a useful description of a ggplot object

Usage

## S3 method for class 'ggplot':
summary(object, ...)

Arguments

object
ggplot2 object to summarise
...
other arguments ignored (for compatibility with generic)

Examples

Run this code
p <- ggplot(mtcars, aes(mpg, wt)) +
  geom_point()
summary(p)

Run the code above in your browser using DataLab