create_es_network: Create social-ecological networks

View source: R/create_es_network.R

create_es_networkR Documentation

Create social-ecological networks

Description

'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

Usage

create_es_network(
  ls_supply,
  ls_demand,
  es_thresh,
  excludable,
  supply_area,
  demand_area,
  e2e = TRUE,
  params = NULL
)

Arguments

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)

Value

A list containing the network (and its attributes) and the parameters used to create the network


sLandserve/sLandserv documentation built on March 2, 2023, 7:32 p.m.