dist_vec | R Documentation |
compute distances between two vectors of points
dist_vec(idxy1, idxy2, row_id = T)
idxy1 |
first vector of coordinates |
idxy2 |
second vector of coordinates |
row_id |
should row ids be returned |
This program is free software but it is provided WITHOUT WARRANTY and with ABSOLUTELY NO GUARANTEE of fitness or functionality for any purpose; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Revision History
1.0 | 12/7/2023 Created |
1.1 | date and revisions.. |
<Delete and Replace>
Jacob Strunk <someone@somewhere.com>
dist
sweep
dat1 = data.frame(id=1:25, x=25:49, y=61:85)
dat2 = data.frame(id=LETTERS[1:10], x=rnorm(10), y=runif(10))
dist_vec(dat1, dat2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.