getRowGroups.ggobi {Rggobi}R Documentation

Sets or queries the groupings of observations in a ggobi dataset.

Description

Records/observations in a ggobi dataset can be arranged into groups rather than treated individually. Then brushing a point in that group selects all points in that group. The groups are assigned by specifying a group index (integers starting at 1) for the different records. These functions allow one to query and set the groups.

Usage

getRowGroups.ggobi(.data=1, .gobi=getDefaultGGobi())
setRowGroups.ggobi(ids, .data=1, .gobi=getDefaultGGobi())

Arguments

ids an integer vector giving the group identifiers for all the observations in the dataset.
.data the dataset in question. This can be an object of class ggobiDataset, a name that matches those returned from getDatasetNames.ggobi or an integer giving the dataset by index.
.gobi an identifier for the ggobi instance in which to find the dataset. If .data is an object of class ggobiDataset, this is not needed. Otherwise, it should be an object of class ggobi or an integer.

Value

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

setColors.ggobi getColors.ggobi setGlyphs.ggobi getGlyphs.ggobi

Examples



[Package Contents]