Learn R Programming

trackr (version 0.10.7)

graphSys: Accessor method for PlotFeatureSet "package" slot.

Description

Retrieve the graphics system from a PlotFeatureSet object

Usage

graphSys(object)

# S4 method for PlotFeatureSet graphSys(object)

Arguments

object

An object of (super)class PlotFeatureSet.

Value

A character vector representing the originating R package of the plot object, i.e. base, ggplot, or lattice.

Examples

Run this code
# NOT RUN {
library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
graphSys(fs)
# }

Run the code above in your browser using DataLab