Description Usage Arguments Value Examples
Calculate pair-wise distance metrics of row-wise locations.
1 |
df |
Input data frame with (x, y) as spatial coordiantes and z as an variable |
The column r
represents Euclidean distance;
columns z1
and z2
preserve corresponding z
values of two points.
1 | dist.pw(data.frame(x=seq(6), y=seq(6), z=runif(6)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.