| groupVecData | R Documentation |
groupVec Class Data Access
Accesses the data list of a groupVec object.
groupVecData(object)
object |
the object to access. |
The function returns the columns slot of object.
You can use it on the left side of an assignment, in which case the columns slot
is replaced, with some validity checking. Also, if
the new value has a different length than the old one, the column names and
classes are extended or truncated appropriately, with the column
classes for new columns derived from the class of the new data in the columns.
returns the data list of object.
groupVecColumn, groupVecNames, groupVecClasses, groupVec class.
obj <- new("groupVec")
groupVecData(obj) <- list(c(1,2,3), c("a", "b", "c"))
groupVecData(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.