Description Usage Arguments Value
Compute the environmental or biological distance between pairs of sites
1 |
site.grid |
A two column data.frame with the cell id of pairs of sites to compare. Cell ids must match the env.vars raster* object. |
gdm.rast |
A gdm model object. |
env.vars |
A rasterStack object of gdm transformed environmental predictors. Obtained by using the gdm.transform option in the gdm package. |
dist |
Either "bio" to compute the biological distance between pairs of sites or "mhtn" to compute the manhattan environmental distance between pairs of sites. |
A vector of biological distances between pairs of sites.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.