Landscape-constructor-class: simulateInitialPartition Method

Description Usage Arguments Value Examples

Description

This function creates an object Landscape and simulates a landscape with neutral and source fields.

Usage

1
2
simulateInitialPartition(n = 500, prop = 0.4, range = 10, xmin = 0,
  xmax = 5000, ymin = 0, ymax = 5000)

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)

xmin

x-axis left coordinates

xmax

x-axis right coordinates

ymin

y-axis bottom coordinates

ymax

y-axis top coordinates

Value

An S4 Landscape object with n fields, prop pourcentage of toxic fields of size (xmin,xmax) (ymin,ymax)

Examples

1
2
# simulate a 5000m x 5000m landscape with 500 fields whose 40% (200) are sources
  simulateInitialPartition(n=500,prop=0.4,range=10,xmin=0,xmax=5000,ymin=0,ymax=5000)

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