A wrapper function to facilitate running simulations for two species.
1 2 | lotvolt_comp(w1, b, obs_errors = 0, u_d, u_e, burnin = 100,
sample_scale = 1L, sigma_e = 0.03, return_ts = FALSE)
|
w1 |
Weight for species 1 |
b |
Competition matrix |
obs_errors |
Either 0 (no observation errors) or a matrix of observation errors |
u_d |
Mean 0, standard deviation 1 demographic deviations. |
u_e |
Mean 0, standard deviation 1 environmental deviations. |
burnin |
How many iterations to discard as burnin. |
sample_scale |
How often to sample the 'truth'. If set to 1 then all observations are kept. If set to 2, for example, then every second observation is discarded. |
sigma_e |
Environmental standard deviation values to pass on. |
return_ts |
Logical: should the time series of species biomasses be returned or the mean-variance statistics? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.