View source: R/MK_ProtConnMult.R
MK_ProtConnMult | R Documentation |
Estimate Protected Connected (ProtConn) indicator and fractions for multiple regions.
MK_ProtConnMult(
nodes,
regions,
area_unit = "m2",
distance = list(type = "centroid", resistance = NULL),
distance_thresholds,
probability,
transboundary = NULL,
transboundary_type = "nodes",
protconn_bound = FALSE,
geom_simplify = FALSE,
delta = FALSE,
CI = "all",
plot = FALSE,
write = NULL,
parallel = NULL,
intern = TRUE
)
nodes |
object of class |
regions |
object of class |
area_unit |
|
distance |
A |
distance_thresholds |
A |
probability |
A |
transboundary |
|
transboundary_type |
|
protconn_bound |
|
geom_simplify |
|
delta |
|
CI |
|
plot |
|
write |
|
parallel |
|
intern |
|
For each region:
- Table with the following ProtConn values: ECA, Prot, ProtConn, ProtUnconn, RelConn, ProtUnConn[design], ProtConn[bound], ProtConn[Prot], ProtConn[Within],
ProtConn[Contig], ProtConn[Trans], ProtConn[Unprot], ProtConn[Within][land], ProtConn[Contig][land],
ProtConn[Unprot][land], ProtConn[Trans][land]
- If plot is not NULL a list
is returned with the ProtConn table and a plots.
- If delta is TRUE
then it returns an sf class object with the importance value (contribution to ProtConn) for each node in the region.
Saura, S., Bastin, L., Battistella, L., Mandrici, A., & Dubois, G. (2017). Protected areas in the world’s ecoregions: How well connected are they? Ecological Indicators, 76, 144–158. Saura, S., Bertzky, B., Bastin, L., Battistella, L., Mandrici, A., & Dubois, G. (2018). Protected area connectivity: Shortfalls in global targets and country-level priorities. Biological Conservation, 219(October 2017), 53–67.
## Not run:
library(Makurhini)
library(sf)
data("Ecoregions", package = "Makurhini")#'
#For this example, we select the first three columns and the first 10 of the ecoregions
Ecoregions <- Ecoregions[1:15,1:3]
plot(st_geometry(Ecoregions), col = "#7E6A9F")
load(system.file("extdata", "Protected_areas.rda",
package = "Makurhini", mustWork = TRUE))
#plot(st_geometry(Protected_areas), col="green", add = TRUE) #It may take time to plot all PAs.
test <- MK_ProtConnMult(nodes = Protected_areas,
regions = Ecoregions,
area_unit = "ha",
distance = list(type= "centroid"),
distance_thresholds = c(10000, 50000),
probability = 0.5, transboundary = 50000,
plot = TRUE, write = NULL,
parallel = NULL, intern = TRUE)
test
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.