First class of the plot object. Exception is ggplot2 as many objects are of class 'gg'
plot_class(p)# S3 method for default plot_class(p)# S3 method for gg plot_class(p)# S3 method for ggplot plot_class(p)
# S3 method for default plot_class(p)
# S3 method for gg plot_class(p)
# S3 method for ggplot plot_class(p)
plot object to retrieve class from
# NOT RUN { library(ggplot2) p <- qplot(Sepal.Length, Sepal.Width, data = iris) plot_class(p) # }
Run the code above in your browser using DataLab