Dedupe matched dataframes.
dedupeMatches(matchesA, matchesB, EM,
matchesLink, patterns, linprog)dedupeMatches() returns a list containing the following elements:
A deduped version of matchesA
A deduped version of matchesB
A deduped version of the EM object
A dataframe of the matched observations in dataset A, with all variables used to inform the match.
A dataframe of the matched observations in dataset B, with all variables used to inform the match.
The EM object from emlinkMARmov()
The output from matchesLink()
The output from getPatterns().
Whether to implement Winkler's linear programming solution to the deduplication problem. Default is false.
Ted Enamorado <ted.enamorado@gmail.com> and Ben Fifield <benfifield@gmail.com>