ggobiDataset accesors {Rggobi} | R Documentation |
Many functions in this package operate on a dataset within
a ggobi instance. This function provides a convenient syntax for
invoking such functions by keying off a reference to a dataset (i.e. a
ggobiDataset
object) which identifies both the dataset and
the ggobi instance.
"$.ggobiDataset"(d, name)
d |
the object of class ggobiDataset which identifies
both the ggobi instance and specific dataset within it. |
name |
the name of the function to be accessed with this dataset and ggobi instance. |
A closure instance that is a function which
calls the function textit{name}.ggobi
with the .data
argument given by this
data set object and .ggobi
argument given
by the .ggobi
field of that ggobiDataset
instance.
Duncan Temple Lang
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") d <- g[[1]] d$getColors() g[[1]]$getGlyphs() g[[1]]$setColors(rep(2,20), 1:20) # or use a color name.