Description Usage Arguments Value Author(s) Examples
Calculates a geographical euclidean distances matrix based on a list of coordinates for samples and for interpolation locations.
1 | geo.dist(from, to)
|
from |
Data frame with coordinates for source locations. Should have two columns (longitude and latitude). |
to |
Data frame with coordinates for destination locations to where distances are calculated. Should have two columns (longitude and latitude). |
Return the matrix of euclidean distances between source locations ('from') to destination ('to') coordinates. The resulting matrix has source locations in rows and destination in columns and respective names are given based on the row names of the 'from' and 'to' data frames.
Pedro Tarroso <ptarroso@cibio.up.pt>
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.