[R] Bhattacharyya in R

Dzu dizem.uerek at alumni.fh-aachen.de
Mon Jul 1 22:47:56 CEST 2013

Dear R-user,
I am trying to apply bhattacharyya-distance function to my data. Did anybody
use it before ?

My code is the following

#Bhattacharya Distance measure
#a and b are vectors 
a <- (1,2,3,4,2,2,2,2,2,2,2,1,4,5,6,-1,-1,-1,-1,-1,-3,-3,-3)
b <-

dist <- bhattacharyya.matrix(a,b,missclasification = TRUE)

Could somebody give me a guide on the syntax ?


View this message in context: http://r.789695.n4.nabble.com/Bhattacharyya-in-R-tp4670671.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list