best.merged.dt | R Documentation |
Looks for the best merging operation(s) between two data.tables trying a set of columns from the second one.
best.merged.dt(dt.x, dt.y, by.x, try.y = NULL, skip.incompatible.type = FALSE)
dt.x |
A |
dt.y |
Another |
by.x |
A |
try.y |
A |
skip.incompatible.type |
A |
A list
containing:
'best.merged.dt': a data.table
resulting of the best
merging operation if a single merging operation performed
the best. If multiple merging operations gave best results,
operation names are given as a character
vector.
'merging.results': a list
of the merging operation
results. Each result contains 2 elements:
'merge.res': the data.table
resulting from the
merging operation.
'NA.count': an integer
vector giving the number
of NAs contained in each columns from 'dt.y' after the
merging.
Yoann Pageaud.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.