Generate two dataframes and returns subsets of these dataframes that have shared rows.
matchRows(df_a, df_b, indices = NA)
A dataframe
A dataframe
The indices to match rows between df_a
and df_b
. Can be NA,
single character, or a vector of characters
A list containing the two dataframes, subsetted by shared indices, and a list which itself contains dataframes for the dropped rows