groupVec
Class Data Access
groupVec
object.
groupVecClasses(object)
object
data.
The function returns the
.Data.classes
slot of
object
. It can also
be used on the left side of an assignment to replace the
.Data.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 will cause
the
.Data.names
and
.Data
slots of
object
to be extended or truncated to the new length.
obj <- new("groupVec") groupVecClasses(obj) <- c("numeric", "character") groupVecClasses(obj)