[R] Jeffries-Matusita distance

2006-04-18 Thread ALMANSA ORTIZ, JOSUE
I've calculated as follows: matusita-function(f1,f2,lw,up){ fmatu-function(x) ( sqrt(f1(x)) - sqrt(f2(x)) )^2 sqrt (integrate( fmatu, lower=lw, upper=up, subdivisions=100)$value) } Josué Almansa Unitat de Recerca en Serveis Sanitaris Institut Municipal

[R] Jeffries-Matusita distance

2005-04-15 Thread achilleas . psomas
Hello R-Helpers.. Does anybody know if the Jeffries-Matusita distance is already applied in R code? Does it exist in any available package or has been ? I searched CRAN but couldnt find anything there.. Thanks in advance for your help.. AK __

Re: [R] Jeffries-Matusita distance

2005-04-15 Thread Prof Brian Ripley
I believe not, but it would be a function of less than 10 lines, probably quicker to write than search for, find _and_ check what you found agrees with your definition (and BTW, more than one defn exists for it). RSiteSearch(Matusita) A search query has been submitted to