centroid2peakmatrix | R Documentation |
Determines the degree of similarity between a vector a and a vector b as 1/exp(d) where d corresponds to the distance between the two normalized vectors calculated according to the specified method
centroid2peakmatrix(file_path)
a |
Vector a |
b |
Vector b |
method |
The distance measure to be used. This must be one of "euclidean", "maximum", "manhattan", "canberra", "binary" or "minkowski". Any unambiguous substring can be given. |
normalize |
Boolean value indicating whether the a and b vectors should be normalixzed |
Similarity between a and b
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.