Learn R Programming

trackr (version 0.10.7)

fullData: Accessor method for the data (slot "data") that is used in plotting.

Description

Get full data associated with a plot or model fit, if possible.

Usage

fullData(object, quiet = FALSE)

# S4 method for PlotFeatureSet fullData(object)

# S4 method for ggplot fullData(object, quiet = FALSE)

# S4 method for trellis fullData(object, quiet = FALSE)

# S4 method for gTree fullData(object)

# S4 method for PlotFeatureSet fullData(object)

Arguments

object

An object of (super)class PlotFeatureSet. For accession, also plot objects of class ggplot or trellis.

quiet

Should warnings about plotted data be supressed?

Value

A list of data.frame containing the variables used in plotting.

Examples

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

Run the code above in your browser using DataLab