Skip to content
Prev 48729 / 398498 Next

adding a method to the dist function

On Mon, 3 May 2004, Giampiero Salvi wrote:

            
dist() compares pairs of rows in the x matrix.  How can they have `means 
and covariances'? -- you have a sample of size one from each of two 
populations.

It seems that (Gaussian) Bhattacharyya is more like mahalanobis().