Description Usage Arguments Value
The function dist_mat_vec
compute the distance between each sample of
matrix (row-wise) and a reference vector.
1 | dist_mat_vec(x, ref, type = "euclidean")
|
ref |
The reference vector, a sample/point from a d-space. |
type |
The particular method to compute the distance:
|
X |
A matrix with N samples from a d-space. |
A vector of length N with all distances
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.