Find cosine similarity in R

Posted by Derek on Stack Overflow See other posts from Stack Overflow or by Derek
Published on 2010-03-29T00:44:56Z Indexed on 2010/03/29 0:53 UTC
Read the original article Hit count: 690

Filed under:
|
|
|

I'm wondering if there is a built in function in R that can find the cosine similarity (or cosine distance) between two arrays?

Currently, I implemented my own function, but I can't help but think that R should already come with one :)

Thanks, Derek

© Stack Overflow or respective owner

Related posts about r

    Related posts about cosine