Description Usage Arguments Details See Also Examples
The S4Vectors package defines stack
methods
for List and matrix
objects.
It also introduces mstack()
, a variant of stack
where the list is taken as the list of arguments in ...
.
1 2 3 4 5 6 7 8 9 |
x |
A List derivative (for the |
index.var, .index.var |
A single string specifying the column name for the index (source name) column. |
value.var |
A single string specifying the column name for the values. |
name.var |
TODO |
row.var, col.var |
TODO |
... |
The objects to stack. Each of them should be a Vector
or |
As with stack
on a list
, stack
on a
List derivative constructs a DataFrame with two columns:
one for the unlisted values, the other indicating the name of the
element from which each value was obtained. index.var
specifies the column name for the index (source name) column and
value.var
specifies the column name for the values.
[TODO: Document stack()
method for matrix
objects.]
stack
in the utils package.
List and DataFrame objects.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.