distance | R Documentation |
Accelerated way using matrix multiplication for jaccard distance computation. http://stats.stackexchange.com/questions/49453/calculating-jaccard-or-other-association-coefficient-for-binary-data-using-matri
distance(x, ...) ## S4 method for signature 'matrix' distance(x, method = "jaccard", verbose = TRUE) ## S4 method for signature 'simple_triplet_matrix' distance(x, method = "jaccard", verbose = TRUE)
x |
input matrix |
... |
Further arguments (unused). |
method |
defaults to "jaccard", in fact, this is the only method that is implemented |
verbose |
A |
object of class dist
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.