mergeDTs | R Documentation |
Take many data.tables and merge on and ID column, extracting a single column from each data.table as the column of interest
mergeDTs(data_lsdt, mergeCol_v, keepCol_v = NULL, ...)
data_lsdt |
list of data.tables to merge |
mergeCol_v |
which column from all of the data.tables to use to merge |
keepCol_v |
which column from all of the data.tables to use as the column of interest. If NULL, use all columns |
... |
extra parameters passed to merge. So far all = T and sort = F unless changed here. |
data.table with ncol == length(data_lsdt) + 1. Column names are names of list, or defaults to V1, V2,...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.