powered by
Calculate the cosine similarity metric for two lists a and b
calcCosine(a, b)
co list with length of set b containing the cosine similarity coefficient at each position
list with elements that should be of same type as in list b
list with elements
calcCosine(c(1,2), c(2,3))
Run the code above in your browser using DataLab