plot_class: Plot class

Description Usage Arguments Examples

View source: R/plot_class.R

Description

First class of the plot object. Exception is ggplot2 as many objects are of class 'gg'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_class(p)

## Default S3 method:
plot_class(p)

## S3 method for class 'gg'
plot_class(p)

## S3 method for class 'ggplot'
plot_class(p)

Arguments

p

plot object to retrieve class from

Examples

1
2
3
library(ggplot2)
p <- qplot(Sepal.Length, Sepal.Width, data = iris)
plot_class(p)

schloerke/autocog documentation built on June 26, 2018, 3:21 p.m.