[R] Fwd: Levenshtein
Agnieszka
agnieszka at reuter.at
Wed Oct 19 22:58:24 CEST 2011
I am very new to R, so sorry that I ask stupid things.
I want compare a Matrix row by row and at the end I want to a Matrix with
the Levenshtein-Distance.
Example:
The Data (Learningpath in a E-Learning-System):
5 12 24 35
1 24 35
3 35 35 45 35
Now I need a comand, which compare the first line with the second, then with the third and write the result in a new Matrix. I found many Funktion in R, but all compare Strings, but I have numbers.
After that I want to use the ward-argorithm at the result.
Can anyone give me a hint, I am at the end with my nervs.
Joerg
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
More information about the R-help
mailing list