Description Usage Arguments Details Value Author(s) See Also Examples
Compute the cosine similarity matrix efficiently. The function
syntax and behavior is largely modeled after that of the
cosine()
function from the lsa
package, although
with a very different implementation.
1 2 3 |
x |
A numeric dataframe/matrix or vector. |
y |
A vector (when |
use |
The NA handler, as in R's |
inverse |
Logical; should the inverse covariance matrix be returned? |
See ?coop-package
for implementation details.
The n\times n matrix of all pair-wise vector cosine similarities of the columns.
Drew Schmidt
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.