groupVec Class Data Access

DESCRIPTION:

Access the data list of a groupVec object.

USAGE:

groupVecData(object) 

REQUIRED ARGUMENTS:

object
object to be accessed.

VALUE:

data list of object.

DETAILS:

The function returns the .Data slot of object. It can also be used on the left side of an assignment, in which case the .Data 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.

SEE ALSO:

, , , class.

EXAMPLES:

obj <- new("groupVec") 
groupVecData(obj) <- list(c(1,2,3), c("a", "b", "c")) 
groupVecData(obj)