getPosterior: getPosterior

View source: R/getPosterior.R

getPosteriorR Documentation

getPosterior

Description

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

Usage

getPosterior(matchesA, matchesB, EM, patterns)

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

Value

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

Author(s)

Ben Fifield <benfifield@gmail.com>


kosukeimai/fastLink documentation built on Nov. 17, 2023, 8:11 p.m.