groupVec {splusTimeDate} | R Documentation |
groupVec
Constructor
Description
Constructor function for groupVec
class objects.
Usage
groupVec(names, classes, columns)
Arguments
names |
the column names for the object.
The function can be called with no arguments, but if it is called
with any arguments, |
classes |
the column classes for the object. If not supplied, it is
initialized as |
columns |
the list for column data. If not supplied, it is initialized
to |
Details
This function creates a new groupVec
object, putting
the names
(if supplied) into the names
slot,
the classes
(if supplied) into the classes
slot,
and the columns
(if supplied) into the columns
slot.
Value
returns a new groupVec
object constructed from the arguments,
or an empty one if no arguments are supplied.
See Also
Examples
groupVec()
groupVec(c("my.nums", "my.chars"), c("numeric", "character"))
groupVec(c("my.nums", "my.chars"), c("numeric", "character"),
list(c(1, 2, 3), c("a", "b", "c")))
[Package splusTimeDate version 2.5.8 Index]