groupInfo-methods: Accessor method for the panel and other grouping information...

Description Usage Arguments Value Examples

Description

Get the grouping info for a plot or PlotFeatureSet.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
groupInfo(object)

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

## S4 method for signature 'ggplot'
groupInfo(object)

## S4 method for signature 'trellis'
groupInfo(object)

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

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

Arguments

object

An object of class PlotFeatureSet, GGplotFeatureSet, TrellisFeatureSet, ggplot, or trellis.

Value

A named list of grouping information parameters.

Examples

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

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