getVariableIndex.ggobi {Rggobi} | R Documentation |
It is best to refer to variables in ggobi datasets by name, but these are converted to indices when passed to internal C code. This function performs this mapping by matching the specified variable names against those of the dataset in which they are to be resolved.
In most cases, the user does not have to call this function directly. The other functions in the package that operate on ggobi variable references call this function implicitly.
getVariableIndex.ggobi(..., .data = 1, .gobi=getDefaultGGobi())
... |
the names (or indices) of variables to resolve and compute the internal indices. Non-character values are left unaltered and returned as is. |
.data |
the identifier for the dataset against which to resolve the
variable names. This should be an object of class ggobiDataset ,
a name (as returned from names.ggobi), or an integer giving the dataset by order. |
.gobi |
the identified for the ggobi instance in which to find the dataset. |
An integer vector giving the indices of the variables
referenced in the ...
arguments.
Duncan Temple Lang