Displays a useful description of a ggplot object

Usage

"summary"(object, ...)

Arguments

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

Description

Displays a useful description of a ggplot object

Examples

p <- ggplot(mtcars, aes(mpg, wt)) + geom_point() summary(p)
data: mpg, cyl, disp, hp, drat, wt, qsec, vs, am, gear, carb [32x11] mapping: x = mpg, y = wt faceting: facet_null() ----------------------------------- geom_point: na.rm = FALSE stat_identity: position_identity