[R] dist like function but where you can configure the method

Witold E Wolski wewolski at gmail.com
Thu May 15 11:58:59 CEST 2014


Looking for an  fast dist implementation
where I could pass my own dist function to the "method" parameter


i.e.

mydistfun = function(x,y){
 return(ks.test(x,y)$p.value)   #some mystique implementation
}


wow = dist(data,method=mydistfun)


thanks


-- 
Witold Eryk Wolski



More information about the R-help mailing list