simbvarSPEC: Simulate a neutral community with a variable birthrate (VBN),...

Description Usage Arguments Value Author(s) Examples

Description

Simulate a neutral community with a variable birthrate (VBN), saving certain precise timepoints

Usage

1
2
simbvarSPEC(tmax, b1, d1, k1, bneck, kneckstart, kneckend, abun_original,
  interval, wantedtimes)

Arguments

tmax

Arbitrary units of time the simulation should be run

b1

Normal birthrate

d1

Deathrate

k1

Carrying capacity

bneck

Birthrate during the bottleneck

kneckstart

Timepoint at which the bottleneck starts

kneckend

Timepoint at which the bottleneck ends

abun_original

A vector of initial abundances for each species such as those created by generate_spat_abund

interval

After how many evenst should the population state be saved to the output matrix

wantedtimes

The specific timepoints that should be included in the final matrix

Value

A matrix denoting the abundances of all the species in the community over time, with certain specific timepoints saved (wantedtimes)

Author(s)

Timo van Eldijk

Examples

1
2
3
simbvarSPEC( 10, 0.6, 0.1, 16000, 0.05,0, 5,
generate_spat_abund(theta = 200,Ivec = rep(40,1),Jvec = c(16000)),
200,c(15,30,50,75,100))

DeadParrot69/CWERNI documentation built on April 21, 2020, 3:10 a.m.