View source: R/AddDistToRangeToStack.R
AddDistToRangeToStack | R Documentation |
Function to add distance to a list of polygons (e.g. range map) to a stack
AddDistToRangeToStack(in.stk, coords, polynoms, scale = FALSE)
in.stk |
INLA data stack. |
coords |
Names of geographic coordinates used in in.stk. |
polynoms |
List of polygons (a spatialpolygonsdataframe will work). |
scale |
Should the distance be scaled by dividing by the mean of the non-zero distances? (defaults to FALSE, eitehr logical or numeric). |
An INLA stack, with the distance to the polygon added
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.