runSSim: Simulation routines

Description Usage Arguments Details

Description

Set up a new Landscape with preset Species and Individiduals, and run a Gillespie algorithm until a final time is reached. runSSim runs a single-species simulation and passes all parameters as named to the Landscape or Species constructor.

Usage

1
2
3
4
5
runSSim(maxtime, N, ...)

Exponential(maxtime, N, ...)

Logistic(maxtime, N, ...)

Arguments

maxtime

Maximum simulation running time

N

initial population size

...

further arguments that will be passed to Landscape or Species. All options specified on ... and not used for these functions will be passed to populate

Details

Exponential and Logistic are just wrappers for runSSim that enforce that the model is a simple exponential / logistic growth.


andrechalom/TWoLifR documentation built on May 12, 2019, 3:34 a.m.