Get confusion table for fastLink objects
Calculate confusion table after running fastLink().
confusion(object, threshold)
object
: A 'fastLink' object or list of fastLink objects. Can only be run if 'return.all = TRUE' in 'fastLink().'threshold
: The matching threshold above which a pair is a true match. Default is .85'confusion()' returns two tables - one calculating the confusion table, and another calculating a series of additional summary statistics.
## Not run: out <- fastLink( dfA = dfA, dfB = dfB, varnames = c("firstname", "middlename", "lastname"), stringdist.match = c("firstname", "middlename", "lastname"), partial.match = c("firstname", "lastname", "streetname"), return.all = TRUE) ct <- confusion(out) ## End(Not run)
Ted Enamorado ted.enamorado@gmail.com and Ben Fifield benfifield@gmail.com
Useful links