| groupVecClasses | R Documentation |
groupVec Class Data Access
Accesses or replacees the column classes vector of a groupVec object.
groupVecClasses(object)
object |
the object to access. |
This function returns the classes slot of object.
It can also be used on the left side of an assignment to replace the classes
slot with a new value. In that case, the data in the object columns
are coerced to the new classes. Also, replacement of the
classes with a vector of a different length causes
the names and columns slots of object
to be extended or truncated to the new length.
returns a vector of classes of object data.
groupVecColumn, groupVecNames, groupVecData, groupVec class.
obj <- new("groupVec")
groupVecClasses(obj) <- c("numeric", "character")
groupVecClasses(obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.