View source: R/rand_stratified_mpa.R
rand_stratified_mpa | R Documentation |
Randomly generates a stratified network of MPAs
rand_stratified_mpa( grid, areas, grid_strata, area_strata, adj_edgelist, buff_edgelist = adj_edgelist, max_edge = 4 )
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'. |
#insert example here
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.