Description Usage Arguments Details Value Examples
Make a distance matrix using a custom distance function
1 |
x |
A matrix of observations, one per row |
distance_fcn |
A function used to compute the distance between two
rows of the data matrix. The two rows will be passed as the first and
second arguments to |
... |
Additional arguments passed to |
We do not set the call
or method
attributes of the
dist
object.
A dist
object containing the distances between rows of the
data matrix.
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.