rdist | R Documentation |
Calculate the distance between all rows of X and Y.
rdist(X, Y, log = TRUE)
X |
an 'm-by-p' numeric matrix. |
Y |
an 'n-by-p' numeric matrix. |
log |
logical; If TRUE, the log distance matrix is returned. |
an 'm-by-n' numeric matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.