multinulsim: Multiple Simple Neutral community (SN) simulations

Description Usage Arguments Value Author(s) Examples

Description

Multiple Simple Neutral community (SN) simulations

Usage

1
multinulsim(tmax, b1, d1, k1, abun_original, nsim, filenomen, interval)

Arguments

tmax

Arbitrary units of time the simulation should be run

b1

Birthrate

d1

Deathrate

k1

Carrying capacity

abun_original

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

nsim

number of simulations that should be performed (integer)

filenomen

the name of the plot that is saved

interval

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

Value

this function plots all the results of the simulations in a .tiff file in the current working directory

Author(s)

Timo van Eldijk

Examples

1
2
3
multinulsim(10, 0.6, 0.1, 16000,
generate_spat_abund(theta = 200,Ivec = rep(40,1),Jvec = c(16000)),
2,"nulsim.tiff",  200)

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