create.stochastic.landscape: Create stochastic landscape

Description Usage Arguments Note References

Description

Create a stochastic landscape for the stochastic plants model using a copula function In this case, it creates correlated distributions between a log-normal function (fertility) and a beta distribution (stochastic survival)

Usage

1
2
create.stochastic.landscape(run.path, my.lyrs, s.lbl, correlation, n, p, fxs,
  fxs.means, fxs.vars)

Arguments

run.path

Path for the model run

my.lyrs

Layers to include in the landscape

s.lbl

A label

correlation

Desired correlation level (will not be exact)

n

Number of samples to generate (1 per time step)

p

Number of cells in the landscape

fxs

Vector of functions for the copula

fxs.means

Vector of means for the copula, in same order as functions

fxs.vars

= Vector of variances/sd for the copula, in same order as above

Note

Requires copula package. Cells in the landscape will be generated independently of one another.

References

Sklar 1959, others? #DD#


akeyel/spatialdemography documentation built on May 12, 2019, 4:43 a.m.