Closed lmkirvan closed 8 years ago
I can't quit figure out why (as the jensen Shannon distance function looks okay) but
`jensenShannon <- function(x, y) { m <- 0.5_(x + y) 0.5_sum(x_log(x/m)) + 0.5_sum(y*log(y/m)) }
dist.mat <- proxy::dist(x = phi, method = jensenShannon)`
returns Nan using phi.
duplicate of #56
I can't quit figure out why (as the jensen Shannon distance function looks okay) but
`jensenShannon <- function(x, y) { m <- 0.5_(x + y) 0.5_sum(x_log(x/m)) + 0.5_sum(y*log(y/m)) }
dist.mat <- proxy::dist(x = phi, method = jensenShannon)`
returns Nan using phi.