This function models the incidence of a stochastic disturbance at monitoring sites given the probability of a cell being disturbed as a function of time since the last disturbance. It returns a vector specifying whether each site is disturbed (1) or not (0) in a given year jj
1 | stochastic.disturbance(time.hist, Pr.dist, n.sites)
|
time.hist |
An array specifying the time since a disturbance at each monitoring site prior to simulations |
Pr.dist |
A vector specifying the probability of a cell being disturbed given the time since the last disturbance. |
n.sites |
The number of sites monitored during each simulation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.