groupVecNames | R Documentation |
groupVec
Class Data Access
Accesses the column names of a groupVec
object.
groupVecNames(object)
object |
the object to access. |
The function returns the names
slot of the object
.
You can use it on the left side of an assignment to replace the names vector
with a new value. In that case, the replacement value is coerced to
class character
using as
. Replacing the
names with a vector of a different length causes
the classes
and columns
slots of object
to be extended or truncated to the new length. (The default class
is numeric
for the extension.)
returns a vector of the column names of the object
data.
groupVecColumn
, groupVecClasses
, groupVecData
, groupVec
class
obj <- new("groupVec") groupVecNames(obj) <- c("colname1", "colname2") groupVecNames(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.