rbind_tables | R Documentation |
Same as rbindlist
, but returns a table of the same type as the inputs.
rbind_tables(l, use.names = fill, fill = TRUE, ...)
l |
List containing |
use.names |
Whether to bind tables by matching column names. |
fill |
Whether to fill missing columns with |
... |
Arguments passed to |
Other Table functions: as_table
,
create_table
, is_table
,
parse_table_type
,
parse_table
,
remove_empty_dimensions
,
write_table
ldf <- list(
data.frame(x = 1),
data.frame(x = 2)
)
str(rbind_tables(ldf))
## Not run:
ldt <- lapply(ldf, as_table, "data.table")
str(rbind_tables(ldt))
ltb <- lapply(ldf, as_table, "tibble")
str(rbind_tables(ltb))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.