View source: R/create_es_network.R
create_es_network | R Documentation |
'create_es_network' takes as input a spatial data layer (either real data or result of 'ls_create') and derives the underlying supply (ecological-ecological) network
create_es_network( ls_supply, ls_demand, es_thresh, excludable, supply_area, demand_area, e2e = TRUE, params = NULL )
ls_supply |
Polygons containing ecosystem service supply areas |
ls_demand |
Polygons containing ecosystem service demand areas |
es_thresh |
Distance threshold for the social-ecological links |
excludable |
Whether the ecosystem service is excludable or not. If 'TRUE' then only one demand node (chosen at random) is connected to each supply node. If ‘FALSE’ then any number of demand nodes can be connected to each supply node |
supply_area |
Name of the column containing the supply area measure |
demand_area |
Name of the column containing the demand area measure |
e2e |
Logical. If 'TRUE' edge-to-edge distances between patches are calculated. If 'FALSE' centroid-to-centroid distances are calculated (the latter is much quicker) |
params |
Vector containing the parameters used to generate the landscape (if simulated landscapes used, default = NULL) |
A list containing the network (and its attributes) and the parameters used to create the network
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.