View source: R/cosine_similarity.R
cosine_similarity | R Documentation |
matrix
objectsDetermines the cosine similarity for two matrices. Requires that a dimension of the two input matrices is equal
cosine_similarity(mat1 = NULL, mat2 = NULL)
mat1 |
|
mat2 |
|
matrix
of cosine similarity between the input matrices
# cosine_similarity(my_matrix1, my_matrix2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.