dataCompareR (version 0.1.1)

matchRows: Generate two dataframes and returns subsets of these dataframes that have shared rows.

Description

Generate two dataframes and returns subsets of these dataframes that have shared rows.

Usage

matchRows(df_a, df_b, indices = NA)

Arguments

df_a

A dataframe

df_b

A dataframe

indices

The indices to match rows between df_a and df_b. Can be NA, single character, or a vector of characters

Value

A list containing the two dataframes, subsetted by shared indices, and a list which itself contains dataframes for the dropped rows