MK_dPCIIC | R Documentation |
This function calculates both the overall landscape connectivity, and the importance (contribution) of each node (or habitat patch) for maintaining landscape connectivity. It uses the PC and IIC indexes under one or several distance thresholds.
MK_dPCIIC(
nodes,
attribute = NULL,
weighted = FALSE,
LA = NULL,
area_unit = "m2",
restoration = NULL,
onlyrestor = FALSE,
distance = list(type = "centroid", resistance = NULL),
metric = c("IIC", "PC"),
probability = NULL,
distance_thresholds = NULL,
threshold = NULL,
overall = FALSE,
onlyoverall = FALSE,
parallel = NULL,
parallel_mode = 1,
write = NULL,
id_sel = NULL,
intern = TRUE
)
nodes |
Object containing nodes (e.g., habitat patches or fragments) information. It can be of the following classes: |
attribute |
|
weighted |
|
LA |
|
area_unit |
|
restoration |
|
onlyrestor |
|
distance |
A |
metric |
A |
probability |
A |
distance_thresholds |
A |
threshold |
|
overall |
|
onlyoverall |
|
parallel |
(optional, default = |
parallel_mode |
(optional, default = |
write |
|
id_sel |
Internal use only, not for users. |
intern |
|
This function calculates the overall connectivity and the importance or contribution of each node to the overall landscape connectivity. The overall connectivity is computed using either the PC (Probability of Connectivity) or the IIC (Integral Index of Connectivity) metrics.
- If only one distance was used in the parameter distance_thresholds
then return an object of class sf
with the node importance values (delta IIC or PC).
- If you add overall = TRUE
, then a list containing the sf
class object with the importance values of the nodes and a data.frame
with the overall connectivity values will be returned.
- If you use the restoration
parameter then an extra column will be returned to the sf
object with the node importance values, unless you use the onlyrestor
argument (i.e., equal to TRUE
) only the restoration metric is estimated.
- If you use multiple distance thresholds (e.g, distance_thresholds = c(1000, 5000, 80000)
), the resulting data should be returned in the form of a list
, wherein each list
item contains the resulting objects for each distance threshold.
Sometimes the advance process does not reach 100 percent when operations are carried out very quickly.
- Saura, S. & Torné, J. 2012. Conefor 2.6 user manual (May 2012). Universidad Politécnica de Madrid. Available at www.conefor.org.
- Pascual-Hortal, L. & Saura, S. 2006. Comparison and development of new graph-based landscape connectivity indices: towards the priorization of habitat patches and corridors for conservation. Landscape Ecology 21 (7): 959-967.
- Saura, S. & Pascual-Hortal, L. 2007. A new habitat availability index to integrate connectivity in landscape conservation planning: comparison with existing indices and application to a case study. Landscape and Urban Planning 83 (2-3): 91-103.
- Hanski, I. and Ovaskainen, O. 2000. The metapopulation capacity of a fragmented landscape. Nature 404: 755–758.
## Not run:
library(Makurhini)
data("habitat_nodes", package = "Makurhini")
nrow(habitat_nodes) # Number of patches
#Two distance threshold,
IIC <- MK_dPCIIC(nodes = habitat_nodes,
attribute = NULL,
area_unit = "m2",
distance = list(type = "centroid"),
LA = NULL,
overall = TRUE,
metric = "IIC",
distance_thresholds = c(10000, 20000)) #10,20 km
IIC
plot(IIC$d20000$node_importances_d20000["dIIC"], breaks = "jenks")
plot(IIC$d20000$node_importances_d20000["dIICintra"], breaks = "jenks")
plot(IIC$d20000$node_importances_d20000["dIICflux"], breaks = "jenks")
plot(IIC$d20000$node_importances_d20000["dIICconnector"], breaks = "jenks")
#Using raster and resistance
data("habitat_nodes_raster", package = "Makurhini")
data("resistance_matrix", package = "Makurhini")
PC <- MK_dPCIIC(nodes = habitat_nodes_raster,
attribute = NULL,
distance = list(type = "least-cost",
resistance = resistance_matrix),
metric = "PC", probability = 0.5,
overall = TRUE,
distance_thresholds = 40000) # 40 km
PC$overall_d40000
PC$node_importances_d40000
plot(PC$node_importances_d40000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.