Description Usage Arguments Value Examples
View source: R/vector_calculations.R
Calculate the cosine similarity between two vectors.
1  | cosine_similarity(x, y)
 | 
x | 
 A vector.  | 
y | 
 A vector.  | 
Cosine similarity between x and y.
1  | cosine_similarity(c(1,2,3,4), c(5,6,7,8))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.