CosineDist | R Documentation |
This function takes a matrix as input, and computes the cosine distance (1 - cosine similarity) between the observations.
CosineDist(input.mat = NULL)
input.mat |
The input matrix. Defaults to NULL. |
Jack Leary
## Not run:
CosineDist(input.mat = pca_matrix)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.