groupVec Class Data Access

DESCRIPTION:

Access or replace the column classes vector of a groupVec object.

USAGE:

groupVecClasses(object) 

REQUIRED ARGUMENTS:

object
object to be accessed.

VALUE:

vector of classes of object data.

DETAILS:

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.

SEE ALSO:

, , , class.

EXAMPLES:

obj <- new("groupVec") 
groupVecClasses(obj) <- c("numeric", "character") 
groupVecClasses(obj)