powered by
This function wraps around stringdist::stringdist().
stringdist::stringdist()
str_dist(a, b, method = "osa", ...)
The distance between string a and string b.
a
b
R object (target); will be converted by base::as.character().
R
base::as.character()
R object (source); will be converted by base::as.character().
Method for distance calculation. The default is "osa."
Other arguments passed to stringdist::stringdist().
str_dist(a = "BRULINGTN", b = "BURLINGTON")
Run the code above in your browser using DataLab