merge.repl.Rd
merging data tables with collapsing columns with the same name
Merge two data tables with various replacing strategies for columns common between x and y that are not used to merge (i.e. not specified in the "by" argument)
merging data tables with collapsing columns with the same name
Merge two data tables with various replacing strategies for columns common between x and y that are not used to merge (i.e. not specified in the "by" argument)
# S3 method for repl
merge(
dt.x,
dt.y,
sep = "_",
replace_NA = TRUE,
force_y = TRUE,
overwrite_x = FALSE,
keep_order = FALSE,
keep_colorder = TRUE,
keep_factor = TRUE,
...
)
# S3 method for repl
merge(
dt.x,
dt.y,
sep = "_",
replace_NA = TRUE,
force_y = TRUE,
overwrite_x = FALSE,
keep_order = FALSE,
keep_colorder = TRUE,
keep_factor = TRUE,
...
)
logical, only use values in dt.y, any dt.x not in dt.y is clobbered (NA)
logical, should x and y common columns be merged?
logical, if force_y = TRUE, should NA values in y replace x?
A data.table
A data.table