infrastructure_spacer: Simulate locations proportional to suitability and outside...

View source: R/simulate_inf.R

infrastructure_spacerR Documentation

Simulate locations proportional to suitability and outside unavailable areas

Description

infrastructure_spacer is a helper function for infrastructure simulation that generates infrastructure locations proportional to a suitability raster (e.g., relative estimated undiscovered oil) and constrained to not occur in unavailable areas or within a minimum distance threshold from other infrastructure. Used by generate_cpf and generate_sat_rd.

Usage

infrastructure_spacer(n.dev, im, threshold)

Arguments

n.dev

Integer value indicating the desired number of simulated developments (e.g., central processing facilities or satellite pads).

im

Object of class im that is used by spatstat to randomly generate locations proportional to suitability and constrained to avoid restrictions like water or areas closed to development.

threshold

Numeric value indicating the minimum spacing (m) between simulated infrastructure locations.

Value

data.frame containing the xy coordinates of the simulated development.


tfullman/dia documentation built on Oct. 17, 2023, 6:31 p.m.