getTypoCorrection: Check record validity and suggest typo corrections

Description Usage Arguments Value

Description

This function is the working horse for correctTypos

Usage

1
2
getTypoCorrection(E, x, fixate = FALSE, eps = sqrt(.Machine$double.eps),
  maxdist = 1)

Arguments

E

editmatrix

x

numerical record to be checked

eps

tolerance for an edit to be valid

maxdist

maximum edit distance to be valid as a correction suggestion

Value

list with members

status
cor suggested corrections
B reduced binary editmatrix with violated edits, needed for choosing the suggested corrections

deducorrect documentation built on May 2, 2019, 3:47 p.m.