Jensen<U+2013>Shannon distance metric (i.e. the square root of the Jensen<U+2013>Shannon divergence) between the columns of a dense matrix m
jsDist(m, ncores = 1L)
Input matrix
integer Number of cores (default=1)
Vectorized version of the lower triangle as an R distance object, stats::dist()
# NOT RUN { ex = matrix(1:9, nrow = 3, ncol = 3) jsDist(ex) # }
Run the code above in your browser using DataCamp Workspace