Learn R Programming

trackr (version 0.10.7)

groupInfo: Accessor method for the panel and other grouping information (slot "grouping") of the plot object.

Description

Get the grouping info for a plot or PlotFeatureSet.

Usage

groupInfo(object)

# S4 method for PlotFeatureSet groupInfo(object)

# S4 method for ggplot groupInfo(object)

# S4 method for trellis groupInfo(object)

# S4 method for gTree groupInfo(object)

# S4 method for PlotFeatureSet groupInfo(object)

Arguments

object

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

Value

A named list of grouping information parameters.

Examples

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

Run the code above in your browser using DataLab