groupVec
Constructor
groupVec
class objects.
groupVec() groupVec(names, classes=<<see below>>, data=<<see below>>)
names
must be supplied.
ANY
replicated to the length of
names
.
new(class)
for each class in
classes
.
groupVec
object constructed from the arguments,
or an empty one if no arguments are supplied.
This function creates a new
groupVec
object, putting
the
names
(if supplied) into the
.Data.names
slot,
the
classes
(if supplied) into the
.Data.classes
slot,
and the
data
(if supplied) into the
.Data
slot.
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")))