Calculate cosine similarity of two vectors. Function adapted from the MicroRaman package.
1 | calculate_cosine_similarity(a, b, rm_zero = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.