confusion | R Documentation |
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.
Ted Enamorado <ted.enamorado@gmail.com> and Ben Fifield <benfifield@gmail.com>
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.