powered by
Fuzzy string matching.
find_matching_string(x, y, value = TRUE, step = 0.1, ignore.case = TRUE)
Strings.
List of strings to be matched.
Return value or the index of the closest string.
Step by which decrease the distance.
if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.
# NOT RUN { library(psycho) find_matching_string("Hwo rea ouy", c("How are you", "Not this word", "Nice to meet you")) # }
Run the code above in your browser using DataLab