Learn R Programming

ggplot2 (version 3.3.1)

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

Description

Displays a useful description of a ggplot object

Usage

# S3 method for ggplot
summary(object, ...)

Arguments

object

ggplot2 object to summarise

...

other arguments ignored (for compatibility with generic)

Examples

Run this code
# NOT RUN {
p <- ggplot(mtcars, aes(mpg, wt)) +
  geom_point()
summary(p)
# }

Run the code above in your browser using DataLab