confusion function

Get confusion table for fastLink objects

Get confusion table for fastLink objects

Calculate confusion table after running fastLink().

confusion(object, threshold)

Arguments

  • 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

Returns

'confusion()' returns two tables - one calculating the confusion table, and another calculating a series of additional summary statistics.

Examples

## 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)

Author(s)

Ted Enamorado ted.enamorado@gmail.com and Ben Fifield benfifield@gmail.com

  • Maintainer: Ted Enamorado
  • License: GPL (>= 3)
  • Last published: 2023-11-17

Useful links