rand_stratified_mpa: rand_stratified_mpa

View source: R/rand_stratified_mpa.R

rand_stratified_mpaR Documentation

rand_stratified_mpa

Description

Randomly generates a stratified network of MPAs

Usage

rand_stratified_mpa(
  grid,
  areas,
  grid_strata,
  area_strata,
  adj_edgelist,
  buff_edgelist = adj_edgelist,
  max_edge = 4
)

Arguments

grid

is a grid covering your planning area

areas

is a vector of mpa area coverage in m^2

grid_strata

strata for the grid

area_strata

strata for the area

adj_edgelist

is the self-intersecting neighbours edgelist of grid, could be done 'in function' but that would slow it down. Used to create contiguous multi-grid cell MPA's.

buff_edgelist

is the intersecting edgelist of grid with a buffered grid, could be done 'in function' but that would slow it down. Used to guarantee minimum distances (buffer distance) between MPAs.

max_edge

is a numeric constraint that represents the largest number of protected neighbouring cells that an unprotected cell can have before it becomes protected itself if the MPA still needs to 'grow'.

Examples

#insert example here

remi-daigle/NetworkConnectR documentation built on March 19, 2022, 7:20 a.m.