Description Usage Arguments Details Value Author(s) References Examples
View source: R/aohMixS_function.R
Through a mix approach combining the species' spatial-informed distribution with modelling techniques, thresholds the distribution models (e.g. SDMs) based on EOO's geometry to generate models-derived EOOs. Here, EOOs might correspond to the alpha hulls (ahull) or Minimum Polygon Convex (MCP) and a geographical similarity approach is used to estimate the shape of the species' distribution based on models. It is develop by adapting the approach described in Syfert et al. (2014), so that the species' area of habitat (AOH) can be interpreted as the SDMs-derived EOOs.
1 2 3 |
eooSp |
Spatial distribution data of the species representing the original (i.e. not refined) extent of occurrence (EOO). It might correspond to:
NOTE: Input data for EOOs might correspond to Alpha Hull or to Minimum Polygon
Convex (MCP), which can be generated, for example, with the |
modSp |
Species distribution derived from modelling techniques (eg. SDMs). It might correspond to:
|
thresInitial |
The minimum value of threshold to indicate the presence of the
species in the cell. NOTE: From this initial value all threshold spectrum will be
considered up to maximum value of 1.0 based on the increment value defined
by |
thresIncrement |
The amount to sequentially increase the initial threshold with each iteration until find the value that maximizes the geographical overlap (maxJSI) between EOO and distribution models. See details. |
poly |
Optional. A polygon (ESRI shapefile in a 'SpatialPolygonsDataFrame' class) of a given area to be used as a mask to crop and restrict the models-derived EOOs to the area corresponding to provided polygon. |
cropToPoly |
(logical) Whether the output should be cropped by the provided poly.
Only used if 'poly' is provided. If |
progress |
(logical) A bar showing the progress of the function.
Default is |
removeTempFile |
(logical) Whether the temporary files generated in each iteration
should be deleted. It is recommended if the user wants to analyse a high volume of data at
the same time. Default is |
stack |
(logical) Whether the output maps should be returned as a stack of 'RasterLayer'
files. Default is |
Models-derived EOOs are generated through an adapted approach presented by Syfert
et al. (2014) to setting thresholds by maximizing (across all spectrum of
probabilities) the geographical similarity between the EOO (i.e. a polygon drawn
based on the presence records, such as alpha hull or minimum polygon convex) and
the polygon derived from models (e.g. SDMs predicted presences). In each iteration,
based on the increment value defined by threIncrement
, is
searched the threshold that return the most similar distribution between
the provided model and the EOO through the Jaccard Similarity Index (JSI),
calculated as:
JSI = C / (A + B) - C
A: area of alpha hull / B: area of SDM / C: overlapped area between A and B.
By default, aohMixS
returns a list with two elements:
A 'RasterStack' (if stack = TRUE
) or list of 'RasterLayer'
objects (if stack = FALSE
) of maps representing SDMs-derived EOOs.
A data.frame of species and measures relative to SDM-derived EOO's construction and evaluation, as follow:
Threshold - Threshold value maximizing the geographical similarity between distribution from EOO and from model.
MaxJSI - Value of Jaccard Similarity Index (JSI) measured from comparison between the EOO and the model returning the maximum geographical similarity.
DifSizes - Difference (in number of cells) between the EOO and the SDMs-derived EOOs. This measure can be used to evaluate the performance of this analysis (see Syfert et al. 2014 for more details).
Prop - Proportion of the EOO maintained in the resulting SDMs-derived EOOs. This measure can be used to evaluate the performance of this analysis (see Syfert et al. 2014 for more details).
Thaís Dória & Daniel Gonçalves-Souza
1. Syfert M.M., Joppa L.N., Smith M.J, Coomes D., Bachman S.P. & Brummitt N.A. (2014). Using species distribution models to inform IUCN Red List assessments. Biological Conservation. 177.
2. Sangermano F., Eastman J.R. (2012). A GIS framework for the refinement of species geographic ranges. International Journal of Geographical Information Science 26, 39-55.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | ### Path for folder as Input ###
## Not run:
# Binary Output #
aohmix_bin <- aohMixS (eooSp = path_eoo, modSp = path_mod,
thresInitial = 0.05, thresIncrement = 0.25, continuous = FALSE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
# Continuous Output #
aohmix_con <- aohMixS (eooSp = path_eoo, modSp = path_mod,
thresInitial = 0.05, thresIncrement = 0.25, continuous = TRUE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
## End(Not run)
### Shapefile as Input ('aHull' or 'SpatialPolygonsDataFrame' class) ###
# Binary Output #
aohmixS_bin <- aohMixS (eooSp = aHull_plantShp, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = FALSE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
aohmixS_bin <- aohMixS (eooSp = spdf_plantShp, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = FALSE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
# Continuous Output #
aohmixS_con <- aohMixS (eooSp = aHull_plantShp, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = TRUE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
aohmixS_con <- aohMixS (eooSp = spdf_plantShp, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = TRUE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
### Raster as Input ###
# Binary Output #
aohmixR_bin <- aohMixS (eooSp = aHull_plantRas, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = FALSE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
# Continuous Output #
aohmixR_con <- aohMixS (eooSp = aHull_plantRas, modSp = sdm_plantRas,
thresInitial = 0.05, thresIncrement = 0.25, continuous = TRUE, cropToPoly = TRUE,
poly = poly, progress = TRUE, stack = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.