simulateLandscape-constructor-class: SimulateLandscape Method

Description Usage Arguments Details Value See Also Examples

Description

Create an object Landscape. Simulate a landscape with neutral and source fields and receptors margins.

Usage

1
2
3
4
simulateLandscape(n = 500, prop = 0.4, range = 10, xmin = 0,
  xmax = 5000, ymin = 0, ymax = 5000, border_size = 200,
  prob = runif(1, 0.1, 0.9), mean_thickness = runif(1, 2, 20),
  v_thickness = 50)

Arguments

n

Numeric, numbers of fields

prop

Numeric [0,1] toxic fields proportion

range

aggregation parameter (range of the spatial exponential covariance of gaussian process) in meters.

xmin

x-axis left coordinates

xmax

x-axis right coordinates

ymin

y-axis bottom coordinates

ymax

y-axis top coordinates

border_size

A numeric, bbox margin

prob

Probability to inflate a filed margin

mean_thickness

Margin width expectation

v_thickness

Margin width variance

Details

Execute both simulateInitialPartition and simulateThickMargins functions.

Value

An S4 Landscape object with n fields, prop pourcentage of toxic fields.

See Also

simulateInitialPartition and simulateThickMargins

Examples

1
2
3
4
5
6
## Not run: 
simulateLandscape(n=100, prop=0.4, range=10,
xmin=0, ymin=1000, xmax=0, ymin=1000, border_size=100,
prop=runif(1,0.1,0.9), mean_thickness=runif(1,2,20),
v_thickness=50) 
## End(Not run)

SEHmodel documentation built on Sept. 12, 2016, 6:34 a.m.