Compute cosine crossdistances between the rows of matrices.
1  skmeans_xdist(x, y = NULL)

x 
A numeric data matrix. Can be a dense matrix, simple triplet matrix (package slam), or a dgTMatrix (package Matrix). 
y 

A dense matrix d with entry d_{ij} = 1  \cos(x_i, y_j)
the cosine distance between the ith row x_i of x
and the jth row y_j of y
.
Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.