gvdata: 'groupVec' Class Data Access

Description Usage Arguments Details Value See Also Examples

Description

Accesses the data list of a groupVec object.

Usage

1
groupVecData(object)

Arguments

object

the object to access.

Details

The function returns the columns slot of object.

You can use it on the left side of an assignment, in which case the columns 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.

Value

returns the data list of object.

See Also

groupVecColumn, groupVecNames, groupVecClasses, groupVec class.

Examples

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

splusTimeDate documentation built on May 19, 2017, 8:27 p.m.

Search within the splusTimeDate package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.