lotvolt_comp: Run Lotka-Voltera comparison simulation

Description Usage Arguments

View source: R/lotvolt.R

Description

A wrapper function to facilitate running simulations for two species.

Usage

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)

Arguments

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?


seananderson/ecofoliosim documentation built on May 29, 2019, 4:25 p.m.