apply_similarity | R Documentation |
Apply similarity function to rows of a matrix
apply_similarity(idx, mat, similarity, ...)
idx |
vector of length two containing row indices |
mat |
a matrix |
similarity |
similarity function to apply |
... |
additional parameters to be passed to the similarity function |
a scalar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.