setRowNames.ggobi {Rggobi}R Documentation

Set or retrieve record labels.

Description

Set or retrieve the names of records in a ggobi dataset.

Usage

setRowNames.ggobi(names, ids=1:length(names), .data = 1, .gobi=getDefaultGGobi())
getRowNames.ggobi(.data = 1, .gobi=getDefaultGGobi())

Arguments

names the names to assign to the records identified by ids. This is a character vector.
ids an integer vector providing the indices of the records for which the names are to be assigned.
.data the dataset to which these assignments or retrieval should be applied. This is an integer identifying to which of the datasets to query or apply the assignment. These start at $1$ (rather than $0$).
.gobi the ggobi instance to which these operations should be applied.

Details

Each record in a dataset in ggobi has an associated label or name. These functions allow the user to query these or assign values to a subset of them.

Value

getRowNames returns a character vector containing the curent values for all of the records in the specified dataset within the ggobi instance. \ setRowNames returns the previous names/labels of the specified records.

Author(s)

Duncan Temple Lang

References

http://www.ggobi.org

See Also

setDataFile.ggobi setDataFrame.ggobi

Examples



[Package Rggobi version 1.1-2 Index]