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

Description Usage Arguments Value Examples

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
fullData(object, quiet = FALSE)

## S4 method for signature 'PlotFeatureSet'
fullData(object)

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

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

## S4 method for signature 'gTree'
fullData(object)

## S4 method for signature '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

1
2
3
4
5
library(ggplot2)
mt = datasets::mtcars
plt = qplot(mt$mpg, mt$cyl)
fs = makeFeatureSet(plt)
fullData(fs)

trackr documentation built on May 24, 2021, 5:09 p.m.