Description Usage Arguments Note References
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)
1 2 | create.stochastic.landscape(run.path, my.lyrs, s.lbl, correlation, n, p, fxs,
fxs.means, fxs.vars)
|
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 |
Requires copula package. Cells in the landscape will be generated independently of one another.
Sklar 1959, others? #DD#
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.