cosineSim | R Documentation |
Computes the cosine similarity between two vectors.
cosineSim(A, B)
A |
One vector in the pair to compare. |
B |
The other vector in the pair to compare. |
A numeric value, the cosine similarity between vectors A
and
B
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.