multinulsimSPEC: Multiple Simple Neutral community (SN) simulations, plotting...

Description Usage Arguments Value Author(s) Examples

Description

Multiple Simple Neutral community (SN) simulations, plotting the RAC at specific timepoints and also saving the output matrix for every simulation

Usage

1
2
multinulsimSPEC(tmax, b1, d1, k1, abun_original, nsim, interval,
  wantedtimes)

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)

interval

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

wantedtimes

Specific timepoints for which the RAC is to be plotted

Value

this function plots the RAC of the simulations for the times specified in Wantedtimes as .tiff files in the current working directory also writes a .csv file outputting the poplation matrix for every simulation performed

Author(s)

Timo van Eldijk

Examples

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

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