Learn R Programming

fastLink (version 0.6.1)

gammaNUMCK2par: gammaNUMCK2par

Description

Field comparisons for numeric variables. Two possible agreement patterns are considered: 0 total disagreement, 2 agreement. The distance between numbers is calculated using their absolute distance.

Usage

gammaNUMCK2par(matAp, matBp, n.cores, cut.a)

Value

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

Arguments

matAp

vector storing the comparison field in data set 1

matBp

vector storing the comparison field in data set 2

n.cores

Number of cores to parallelize over. Default is NULL.

cut.a

Lower bound for full match. Default is 1

Author

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

Examples

Run this code
if (FALSE) {
g1 <- gammaNUMCK2par(dfA$birthyear, dfB$birthyear)
}

Run the code above in your browser using DataLab