calcCosine | R Documentation |
Calculate the cosine similarity metric for two lists a and b
calcCosine(a, b)
a |
list with elements that should be of same type as in list b |
b |
list with elements |
co list with length of set b containing the cosine similarity coefficient at each position
calcCosine(c(1,2), c(2,3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.