verifySpelling: Title

View source: R/verifyspelling.R

verifySpellingR Documentation

Title

Description

Title

Usage

verifySpelling(varname, CorrectList, ErrPerc = 0.25, verbose = TRUE)

Arguments

varname

a string or a string vector which will be compared to another string or a list of strings in order to find similarity or sound like The objective is to automaticaly correct small mistake in wording

CorrectList

a string or a list of string from which varname will be searched

ErrPerc

An acceptable errPerc when comparing string , default to 0.10%

verbose

If true a message is issued

Value

The string guessed from varname using CorrectList

Examples


verifySpelling("Janury",c("January", "Janvier" ))


Epiconcept-Paris/STRAP-epiuf documentation built on Aug. 5, 2024, 3:41 a.m.