vec_to_mat_dist | R Documentation |
calculates euclidean distance between a vector and a matrix
vec_to_mat_dist(eval_u, x_col, y_col)
eval_u |
a vector of x and y coordinates. |
x_col |
a vector of x coordinates. |
y_col |
a vector of y coordinates. |
a vector of distances between a vector and each row of a matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.