BACKGROUND: I have two data frames that two researchers have used to manually input time data that tracks how a group of participants reach a consensus in making a decision. We are doing this by logging the time of each preference statement as well as the preference (ranked by priority).
QUESTION: My question is, what functions or packages can I use to show me the discrepancies in the two data tables.
EXAMPLE:
discrepancies <- show_discrepancies(myData1, myData2)
discrepancies
outputExample1
provides a data frame containing only the entries that do not match
outputExample2
provides a combined data frame, with entries from both myData1 and myData2, and the entries that do not have a match are highlighted red
either output would work but I would prefer outputExample1 if possible