groupVecClasses
groupVec Class Data Access

Description

Accesses or replacees the column classes vector of a groupVec object.

Usage

groupVecClasses(object)

Arguments

object the object to access.

Details

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.
Value
returns a vector of classes of object data.
See Also
groupVecColumn, groupVecNames, groupVecData, groupVec class.
Examples
obj <- new("groupVec") 
groupVecClasses(obj) <- c("numeric", "character") 
groupVecClasses(obj) 
Package splusTimeDate version 6.0.0-69
Package Index