Description Usage Arguments Details
Stacks a vector or list into key
and value
columns, where key takes the names of the elements, or
assigns names if null.
1 | stack_x(x)
|
x |
a vector or data frame |
Stacks a list of vectors into key
and value
columns, where key names its elements automatically
Stacks a data frame into key
(key2) and value
columns, where key and key2 are the column
and row names of x.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.