Learn R Programming

ggplot2 (version 2.1.0)

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

Description

Displays a useful description of a ggplot object

Usage

"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