setData.ggobi {Rggobi} | R Documentation |
getData.ggobi
retrieves the contents of a ggobi dataset
as an S matrix
and setData.ggobi
adds or replaces
a dataset either from a file or from an R matrix
or data frame.
setData.ggobi(data, ..., .gobi=getDefaultGGobi()) getData.ggobi(.data = 1, .gobi=getDefaultGGobi())
data |
the name of a file or URL from which to load data or an S data frame or matrix containing the data. |
.gobi |
the ggobi instance into which or from which the data should be added or retrieved. |
.data |
an identifier for the dataset of interest with the GGobi instance.
This is either a name, an integer index or a reference to a GGobi dataset of
class ggobiDataset |
... |
passed to setDataFile.ggobi |
getData.ggobi
returns a matrix containing the values
in the specified ggobi dataset, using
its row labels as row names and variable names
as column names.
setData.ggobi
returns an object of class
ggobiDataset
that provides a convenient
reference to the internal ggobi dataset.
Duncan Temple Lang
setDataFrame.ggobi
setDataFile.ggobi
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") data(mtcars) setData.ggobi(mtcars) getData.ggobi(g[1]) g[[1]][,1]