Description Usage Arguments Value Examples
View source: R/sig_dist_matrix.R
Compute a matrix of distances / similarities between two sets of signatures.
1 | sig_dist_matrix(x1, x2, method = "cosine")
|
x1 |
The first set of signatures (a positive matrix in which each column is a signature).
The elements of |
x2 |
The second set of signatures, similar data type to |
method |
(as for the |
A matrix with dimensions ncol(x1)
X ncol(x2)
with
each element representing the distance or similarity (depending on method
)
between the corresponding elements of x1
and x2
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.