My big problem is not ward, it is to calculate the Levenshtein-Distance. > check the help archives. > > hclust with method=ward might be what you are looking for > > > > On Wed, Oct 19, 2011 at 2:43 PM, Jörg Reuter <jo...@reuter.at> wrote: >> 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 >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.