getDatasetNames.ggobi {Rggobi} | R Documentation |
The getDatasetNames.ggobi
is a method for
obtaining the names of the different datasets
within a ggobi instance. Occassionally it is also
useful to map the name of one of these datasets
to is position or index.
datasetIndex.ggobi
does this, but it is used infrequently given the
introduction of the ggobiDataset
class
and methods (e.g. getDatasetReference.ggobi
)
for obtaining references to datasets
that are position/order invariant. This is also a
function that is typically used by other functions
in the package and not directly called by users of the package.
getDatasetNames.ggobi(.gobi=getDefaultGGobi()) datasetIndex.ggobi(.data, .gobi=getDefaultGGobi())
.data |
the names of one or more dataset whose indices are to be determined. |
.gobi |
the identifier for the ggobi instance whose datasets are to be queried.
This should be an object of class ggobi or else an integer identifying
the ggobi instance by position in the list of all ggobis. |
The name of a dataset is defined in a variety of different ways depending on the format of the input file, data, etc.
getDatasetNames.ggobi
returns a character vector
containing the names of the datasets.
Duncan Temple Lang
names.ggobi
getDatasetReference.ggobi
g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit") names(g) getDatasetNames.ggobi(g)