dedupeMatches: dedupeMatches

View source: R/dedupeMatches.R

dedupeMatchesR Documentation

dedupeMatches

Description

Dedupe matched dataframes.

Usage

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.

Value

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>


fastLink documentation built on Nov. 17, 2023, 9:06 a.m.