Description Usage Arguments Value Examples
Calculate the cosine similarity metric for two lists a and b
1 | 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
1 2 3 4 | ## Not run:
calcCosine(c(1,2,3), c(2,3,4))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.