Description Usage Arguments Details Value Author(s) Examples
Calculate Pairwise Distance from a Matrix
1 |
x |
A matrix or a list. If it is a matrix, the distance is calculated by rows. |
pairwise_fun |
A function which calculates distance between two vectors. |
... |
Pass to |
You can construct any type of distance measurements by defining a pair-wise distance function.
The function is implemented by two nested for
loops, so the efficiency may not be so good.
A dist
object.
Zuguang Gu <z.gu@dkfz.de>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.