Is there a packagein R that contain Levenshtein Distance counting function that compute the distance for numeric vectors? All I have found are strings based. Also I am looking for a Jaro-Winkler package that do the same, but the Levenshtein distance is more essensial.
Asked
Active
Viewed 1,258 times
2
-
2Have you tried `sos::???levenshtein` ? – Carl Witthoft Jul 15 '13 at 14:55
-
@CarlWitthoft There is no levenshtein function in sos package – POD Jul 15 '13 at 15:01
-
@JackRyan how can I do that? I just found the simple strcmp() – POD Jul 15 '13 at 15:18
-
1POD, when text has a grey highlighter, it means it's a piece of code. In this case: 1) Load the package "sos" . 2) type exactly this: "???levenshtein" 3) take a gander at the search results. – Carl Witthoft Jul 15 '13 at 17:14
-
@CarlWitthoft I thought that you don't know the whole function. I will try that. – POD Jul 15 '13 at 23:04
1 Answers
0
Found this page: Clustering strings in R (is it possible?)
which suggests using the vwr
package.

Community
- 1
- 1

Carl Witthoft
- 20,573
- 9
- 43
- 73
-
I got the (vmr) from R CRAN archive. Is there a reason that is discontinued? – POD Jul 15 '13 at 23:09