getNumDatasets.ggobi {Rggobi}R Documentation

Get the number of datasets in a ggobi instance.

Description

This returns the number of datasets within a ggobi instance.

Usage

getNumDatasets.ggobi(.gobi=getDefaultGGobi())

Arguments

.gobi the ggobi instance whose number of datasets is to be queried. This can be an object of class ggobi or an integer identifying the ggobi instance by position in the current list of ggobi instances.

Value

A single integer giving the numbe of datasets in the specified ggobi instance.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

names.ggobi

Examples

  g <- ggobi(system.file("data", "flea.xml", package="Rggobi"), args="-noinit")
  g$setData(system.file("data", "sat.xml", package="Rggobi"))

  g$getNumDatasets()

[Package Contents]