join_df | R Documentation |
Given a list of data.frame or data.table, it outputs a data.table by merging them together
join_df(dfList, setCol = TRUE, setNAtoZero = T, ...)
dfList |
A list of data.frame or data.table |
setCol |
Whether to add a 'set' column for each input data as an indicator of data origin. When TRUE, a new column (set1, set2, etc) is added to each input data; when FALSE, nothing is added. Alternatively, one can provide a character vector to be used as the names of the indicator columns. The elements of the indicator columns are all '1's. |
setNAtoZero |
If TRUE, the NAs in the indicator columns are set to '0'. |
... |
The parameters passed to |
A data.table object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.