Description Usage Arguments Value Note Author(s) See Also Examples
A wrapper around the Stacked function to
merge the resulting list into a
single data.table.
1 2 | merged.stack(data, id.vars = NULL, var.stubs, sep, keep.all = TRUE,
...)
|
data |
The input |
id.vars |
The columns to be used as "ID" variables. Defaults to |
var.stubs |
The prefixes of the variable groups. |
sep |
The character that separates the "variable name" from the "times"
in the source |
keep.all |
Logical. Should all the variables in the source
|
... |
Other arguments to be passed on to |
A merged data.table.
The keyed argument to Stacked has been hard-
coded to TRUE to make merge work.
Ananda Mahto
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.