find_close_strings: Find close strings

Description Usage Arguments Value Author(s) Examples

View source: R/close_names.R

Description

Find close strings in a character vector (for example, the labels of a factor). It could be useful if you try to find misspelled words.

Usage

1
find_close_strings(char, nb_subst = 3)

Arguments

char

character

Value

A list, with for each unique word, the others words close to it.

Author(s)

Joris Muller

Examples

1
2
chaine2 <- c("mainson", "maison", "cave", "caves", "Cave", "H<c3><b4>pital", "Hopital", "Bachibouzouk")
the_list <- find_close_strings(chaine2)

jomuller/dfcheck documentation built on May 19, 2019, 7:26 p.m.