Description Usage Arguments Examples
This function implements rbindlist
but adds an optional argument,
names
, which allows us to keep the names of each
sub-list which we rbindlist
-ify.
1 | rbindlistn(l, names = ".Names")
|
l |
A list of |
names |
If
|
1 2 3 4 5 6 7 | dfs <- list( a=data.frame(x=1, y=2, z=3), b=data.frame(x=4, y=5, z=6) )
rbindlistn(dfs)
lists <- list( a=list(x=1, y=2, z=3), b=list(x=4, y=5, z=6) )
rbindlistn(lists)
df1 <- data.frame(x = 1, y = 2)
df2 <- data.frame(x = 3, y = 4)
rbindlistn(list(df1, df2))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.