Description Usage Arguments Value Note Author(s)
View source: R/strata_distance.R
This function takes a data.frame
from the strata_coordinates
function and returns the between strata distance matrix.
1 | strata_distance(x, mode = c("Euclidean", "Circle")[2])
|
x |
A |
mode |
The type of distance to calculate. Currently there are two available types of physical distance, Euclidean (straight-line) and Great Circle (from the curvature of the earth) |
A data frame, with Stratum Latitude and Longitude, summarized by center of each stratum.
This uses the mean radius of the earth to be 6371km as the latest estimate by USGS.
Rodney J. Dyer rjdyer@vcu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.