Learn R Programming

fastLink (version 0.6.1)

getPosterior: getPosterior

Description

Get the posterior probability of a match for each matched pair of observations

Usage

getPosterior(matchesA, matchesB, EM, patterns)

Value

getPosterior returns the posterior probability of a match for each matched pair of observations in matchesA and matchesB

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()

patterns

The output from getPatterns().

Author

Ben Fifield <benfifield@gmail.com>