powered by
Field comparisons for string variables. Two possible agreement patterns are considered: 0 total disagreement, 2 agreement. The distance between strings is calculated using a Jaro-Winkler distance.
gammaCK2par(matAp, matBp, n.cores, cut.a, method, w)
vector storing the comparison field in data set 1
vector storing the comparison field in data set 2
Number of cores to parallelize over. Default is NULL.
Lower bound for full match, ranging between 0 and 1. Default is 0.92
String distance method, options are: "jw" Jaro-Winkler (Default), "jaro" Jaro, and "lv" Edit
Parameter that describes the importance of the first characters of a string (only needed if method = "jw"). Default is .10
gammaCK2par returns a list with the indices corresponding to each matching pattern, which can be fed directly into tableCounts and matchesLink.
gammaCK2par
tableCounts
matchesLink
# NOT RUN { g1 <- gammaCK2par(dfA$firstname, dfB$lastname) # }
Run the code above in your browser using DataLab