merge2.data.frame: A verbose merge

View source: R/merge2.R

merge2.data.frameR Documentation

A verbose merge

Description

A verbose merge

Usage

## S3 method for class 'data.frame'
merge2(
  x,
  y,
  id_dupl = c("x", "y"),
  id_not_found = c("y_nin_x"),
  by = intersect(names(x), names(y)),
  by.x = by,
  by.y = by,
  all = FALSE,
  all.x = all,
  all.y = all,
  sort = TRUE,
  suffixes = c(".x", ".y"),
  no.dups = TRUE,
  incomparables = NULL,
  ...
)

Arguments

x

same as in merge

y

same as in merge

id_dupl

character, warning if duplicated id are found for the selected data.frame

id_not_found

message if some A id are not found in B (eg x_nin_y or y_nin_x)

by

same as in merge

by.x

same as in merge

by.y

same as in merge

all

same as in merge

all.x

same as in merge

all.y

same as in merge

sort

same as in merge

suffixes

same as in merge

no.dups

same as in merge

incomparables

same as in merge

...

same as in merge


lbraglia/lbmisc documentation built on April 29, 2024, 11:27 a.m.