View source: R/MK_Focal_nodes.R
MK_Focal_nodes | R Documentation |
This function enables the calculation of the focal Integral Index of Connectivity (\mathbf{IIC}_f
) or the focal Probability of Connectivity (\mathbf{PC}_f
) under one or more distance thresholds. Furthermore, this function estimates the composite connectivity index (\mathbf{CCI}_f
; for further details, please see Latorre-Cárdenas et al., 2023).
MK_Focal_nodes(
nodes = NULL,
id = NULL,
attribute = NULL,
raster_attribute = NULL,
fun_attribute = NULL,
weighted = FALSE,
area_unit = "ha",
distance = list(type = "centroid", resistance = NULL),
metric = "IIC",
probability = NULL,
distance_thresholds = NULL,
search_buffer = NULL,
simplify_shape = NULL,
fragmentation = FALSE,
edge_distance = 500,
min_node_area = 100,
parallel = NULL,
write = NULL,
save_subfiles = FALSE,
intern = TRUE
)
nodes |
|
id |
|
attribute |
|
raster_attribute |
|
fun_attribute |
|
weighted |
|
area_unit |
|
distance |
A |
metric |
A |
probability |
A |
distance_thresholds |
A |
search_buffer |
|
simplify_shape |
|
fragmentation |
|
edge_distance |
|
min_node_area |
|
parallel |
(optional, default = |
write |
|
save_subfiles |
|
intern |
|
A loop is executed, whereby each of the nodes is selected. In each iteration, the following occurs:
1- When node i
is selected, it becomes a focal node (f
).
2- Then, a buffer is generated with the distance specified in parameter search_buffer
, for example the for example twice the dispersion distance specified in the parameter distance_thresholds
. This buffer is called local landscape and is used to identify neighboring nodes, called transboundary nodes (th
).
3- Next, the index IIC or PC is estimated according to the selected metric using the focal node and the transboundary nodes. This result is referred to as \mathbf{IIC}_f
or \mathbf{PC}_f
. The index value ranges from 0 to 1, with 1 representing the highest connectivity in the local landscape for the focal node.
4- Subsequently, the delta dIIC or dPC is estimated for the focal node, along with its intra, flux, and connector
deltas.
5- The function calculates the Composite Connectivity Index (\mathbf{CCI}_f
) as a prioritization tool for focal nodes. This is based on their individual contribution, weighted by the connectivity in the local landscape:
\mathbf{CCI}_f = \mathbf{IIC}_f \cdot \mathbf{dIIC}_f
or \mathbf{CCI}_f = \mathbf{PC}_f \cdot \mathbf{dPC}_f
. Nodes, with higher \mathbf{CCI}_f
values are found in well-connected local landscapes, making them valuable contributors to connectivity in their immediate landscapes. This makes them ideal candidates for conservation efforts. Conversely, lower \mathbf{CCI}_f
values may indicate the need for restoration and conservation actions.
6- In the final step, if the parameter fragmentation
is set to TRUE
, fragmentation statistics are estimated for the local landscape.
This process is repeated for each node and stored in an object class sf. For further details, please see Latorre-Cárdenas et al., 2023
Sometimes the advance process does not reach 100 percent when operations are carried out very quickly.
Latorre-Cárdenas, M. C., González-Rodríguez, A., Godínez-Gómez, O., Arima, E. Y., Young, K. R., Denvir, A., ... & Ghilardi, A. (2023). Estimating fragmentation and connectivity patterns of the temperate forest in an avocado-dominated landscape to propose conservation strategies. Land, 12(3), 631.
## Not run:
library(Makurhini)
data("habitat_nodes", package = "Makurhini")
nrow(habitat_nodes) # Number of patches
test <- MK_Focal_nodes(nodes = habitat_nodes,
id = "Id",
attribute = NULL,
raster_attribute = NULL,
fun_attribute = NULL,
distance = list(type = "centroid"),
metric = "PC",
probability = 0.5,
parallel = 4,
distance_thresholds = 10000,
search_buffer = 20000,
fragmentation = TRUE)
plot(test["dPC"], breaks = "jenks")
plot(test["IComp"], breaks = "jenks")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.