Re: [R] Bhattacharyya in R

2013-07-01 Thread Jeff Newmiller
There is a built-in guide to syntax called the help system. If you have read it you should be able to be mitre specific with your questions. I had never heard of this function. Your example code is not reproducible, nor does it indicate what result you got from running it. I used RSiteSearch("

[R] Bhattacharyya in R

2013-07-01 Thread Dzu
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 <- (1.1,1.1,1.2,1.2,1.2,1.2,1.2,2.1,2.1,2.2,2.2,2,