dupsBetweenDFs: Find rows that are duplicated across dataframes

Description Usage Arguments Details Value Author(s)

View source: R/merge_utils.R

Description

Find rows that are duplicated across dataframes

Usage

1
dupsBetweenDFs(dfs, by = NULL, matchall = FALSE)

Arguments

dfs

a list of dataframes to compare

by

a list of vectors each of which indicates which columns to use for the corresponding dataframe in 'dfs'. A NULL value means use all columns.

matchall

If TRUE then find rows that are duplicated across ALL groups, otherwise a row only need be duplicated across 2 groups

Details

Find rows that are duplicated across dataframes

This is just a wrapper around dupsBetweenGroups (which see), but for separate dataframes instead of groups within a single dataframe.

The 'by' argument can be used for specifying which columns to restrict each dataframe in 'dfs' to. Each element of 'by' can be either NULL (default) or a character/numeric vector. A NULL value means use all columns and a character or numeric vector means use the columns indicated by that vector.

Value

a list of vectors indicating duplicated rows of dataframes

Author(s)

Ben Veal


vapniks/mergeutils documentation built on May 3, 2019, 4:33 p.m.