groupVec | R Documentation |
groupVec
Constructor
Constructor function for groupVec
class objects.
groupVec(names, classes, columns)
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 |
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.
returns a new groupVec
object constructed from the arguments,
or an empty one if no arguments are supplied.
groupVec
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")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.