Skip to content
Prev 274951 / 398506 Next

Levenshtein-Distance

On Oct 20, 2011, at 7:53 AM, J?rg Reuter wrote:

            
I get the sense you and your respondents are talking paste each other,  
and that you do _not_ want to compare the digits in your numbers. If  
you have a vector that you want to change into a character, you can  
convert easily with indexing. This would give you a "domain" of 48  
characters:

....ooops, you are one of those Nabble users who expects us to search  
for your  prior postings.... tooo bad. I have decided not to track  
down omitted context in such instance:

 > c(letters,LETTERS)[ c(12, 35, 24, 35)]
[1] "l" "I" "x" "I"   # then use the distance function

There are numToASCII functions but I cannot remember them without  
searching.