dedupeMatches function

dedupeMatches

dedupeMatches

Dedupe matched dataframes.

dedupeMatches(matchesA, matchesB, EM, matchesLink, patterns, linprog)

Arguments

  • matchesA: A dataframe of the matched observations in dataset A, with all variables used to inform the match.
  • matchesB: A dataframe of the matched observations in dataset B, with all variables used to inform the match.
  • EM: The EM object from emlinkMARmov()
  • matchesLink: The output from matchesLink()
  • patterns: The output from getPatterns().
  • linprog: Whether to implement Winkler's linear programming solution to the deduplication problem. Default is false.

Returns

dedupeMatches() returns a list containing the following elements: - matchesA: A deduped version of matchesA

  • matchesB: A deduped version of matchesB

  • EM: A deduped version of the EM object

Author(s)

Ted Enamorado ted.enamorado@gmail.com and Ben Fifield benfifield@gmail.com

  • Maintainer: Ted Enamorado
  • License: GPL (>= 3)
  • Last published: 2023-11-17

Useful links