distance | R Documentation |
X
and the input matrix Y
Create a Gram matrix with squared Euclidean distances between
observations in the input matrix X
and the input matrix Y
X |
A numeric input matrix |
Y |
A numeric input matrix with the same variables as |
intercept |
Logical indicating whether an intercept should be added to the estimation procedure. In this case, the first column is an all-zero column (which will be transformed into an all-ones column in the kernel). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.