[R] adding a method to the dist function

About this list Date view Thread view Subject view Author view Attachment view

From: Giampiero Salvi (giampi@speech.kth.se)
Date: Mon 03 May 2004 - 19:50:38 EST


Message-id: <Pine.LNX.4.58.0405031138570.8862@bayes.speech.kth.se>

Hi all,
I'd like to add the Bhattacharyya method to the dist function.
What is the best way to do this? I'm using R 1.9.0 and I was looking
for the code that defines the already existing distances, but I didn't
manage. As far as I understand, dist is defined in mva that is part
of the stats package now, but where is the code?

Thank you very much,
Giampiero

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Mon 31 May 2004 - 23:05:07 EST