mcpSDM | R Documentation |
Generates a minimum convex polygon (MCP; i.e., convex hull) that is delineated from a thresholded SDM. For each increment of 0.01 between a user-specified threshold and the maximum SDM prediction value, the prediction is thresholded to this value to make a binary raster. This raster is then converted to points, which are used to delineate a trial MCP. Each trial MCP is spatially intersected with the original MCP (based on the occurrence coordinates) and the original occurrence points. The Jaccard similarity index is calculated to determine geographic similarity between the trial and observed MCP. The trial MCP is also spatially intersected with the original occurrence points to determine how many were omitted. The "best" MCP is the one that has the highest JSI and also omits the least original occurrence points.
mcpSDM(p, xy, ch.orig, thr)
p |
Raster* object of a continuous species distribution model prediction to base hull calculation on |
xy |
Matrix or Data frame of occurrence coordinates |
ch.orig |
SpatialPolygons object of original minimum convex hull based on occurrence locality coordinates |
thr |
Numeric threshold used to convert the continuous SDM prediction to a binary range map; this is then used to delineate the hull |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.