matchSingleIndex {dataCompareR} | R Documentation |
Generate two dataframes that contain the same rows based on a single index
matchSingleIndex(df_a, df_b, index_key, original_keys)
df_a |
A dataframe |
df_b |
A dataframe |
index_key |
A character vector |
original_keys |
A character vector |
A list containing the two dataframes, subsetted by shared indices, and a list which itself contains the vectors for the dropped rows