rand_mpa | R Documentation |
Randomly generates a network of MPAs
rand_mpa(grid, areas, 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 |
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.