I searched the help for "cosine distance" and this was the first hit http://finzi.psych.upenn.edu/R/Rhelp02a/archive/3946.html
Tom > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Raymond K Pon > Sent: Tuesday, 13 September 2005 3:48 AM > To: [email protected] > Subject: [R] Document clustering for R > > > I'm working on a project related to document clustering. I > know that R > has clustering algorithms such as clara, but only supports > two distance > metrics: euclidian and manhattan, which are not very useful for > clustering documents. I was wondering how easy it would be to > extend the > clustering package in R to support other distance metrics, such as > cosine distance, or if there was an API for custom distance metrics. > > Best regards, > Raymond Pon > [EMAIL PROTECTED] > x43062 > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
