cosineDist | R Documentation |
Using the cosine distance function form las package
cosineDist(binMat, valNA = NULL, rescale = F)
binMat |
A matrix of numbers for which you want to calculate the distance between rows |
valNA |
Value to give NAs in matrix |
rescale |
Should matrix be rescaled from 0..1 range to -1..1 range? |
A distance object (lower triangle) with the distances between all rows of the input matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.