gammaKpar: gammaKpar

View source: R/gammaKpar.R

gammaKparR Documentation

gammaKpar

Description

Field comparisons: 0 disagreement, 2 total agreement.

Usage

gammaKpar(matAp, matBp, gender, n.cores)

Arguments

matAp

vector storing the comparison field in data set 1

matBp

vector storing the comparison field in data set 2

gender

Whether the matching variable is gender. Will override standard warnings of missingness/nonvariability. Default is FALSE.

n.cores

Number of cores to parallelize over. Default is NULL.

Value

gammaKpar returns a list with the indices corresponding to each matching pattern, which can be fed directly into tableCounts and matchesLink.

Author(s)

Ted Enamorado <ted.enamorado@gmail.com>, Ben Fifield <benfifield@gmail.com>, and Kosuke Imai

Examples

## Not run: 
g1 <- gammaKpar(dfA$birthyear, dfB$birthyear)

## End(Not run)

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