R/merge.R
safeMerge.Rd
check existence of columns before merging
safeMerge(x, y, by = intersect(names(x), names(y)), by.x = by, by.y = by, ...)
just as in merge
merge
additional arguments passed to merge