This function allows computing a similarity measure between a vector and each row of a matrix. The similarity measure is defined by d^2 where d is the Euclidean distance between the vector and each row. It is implemented thanks to the RCpp package.
A numeric vector containing numeric and missing values.
A data matrix containing numeric and missing values.
A numeric vector containing the values of the similarity measures between the
prot vector and each row of the
Quentin Giai Gianetto <email@example.com>
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.