Description Usage Arguments Value Examples
View source: R/cosine_similarity.R
calculates cosine similarity of two vectors
1 | cosine_similarity(x, y)
|
x |
first vector |
y |
second vector |
cosine similarity of two vectors
1 | cosine_similarity(1:4, 5:8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.