Description Usage Arguments Examples
Stack all list elements to tabular data
1 | list.stack(.data, ..., data.table = FALSE)
|
.data |
|
... |
additional parameters passed to |
data.table |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
x <- lapply(1:3, function(i) { list(a=i,b=i^2) })
list.stack(x)
x <- lapply(1:3, function(i) { list(a=i,b=i^2,c=letters[i])})
list.stack(x)
x <- lapply(1:3, function(i) { data.frame(a=i,b=i^2,c=letters[i]) })
list.stack(x)
x <- lapply(1:3, function(i) { data.frame(a=c(i,i+1), b=c(i^2,i^2+1))})
list.stack(x)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.