DAISIE_plot_pc_rates: Plot per capita STT and per-capita rate change thourgh...

Description Usage Arguments Value Author(s)

View source: R/DAISIE_plot_pc_rates.R

Description

Plot per capita STT and per-capita rate change thourgh simulation

Usage

1
2
DAISIE_plot_pc_rates(simulation_outputs, totaltime, pars, island_ontogeny,
  Apars, Epars, mainland_n = 1000, resolution = 0.001)

Arguments

simulation_outputs

Set of simulation outputs as created by DAISIE_sim

totaltime

Numeric; total time to simulate

pars

Contains the model parameters:

pars[1] corresponds to lambda^c (cladogenesis rate)
pars[2] corresponds to mu (extinction rate)
pars[3] corresponds to K (clade-level carrying capacity). Set K=Inf for non-diversity dependence.
pars[4] corresponds to gamma (immigration rate)
pars[5] corresponds to lambda^a (anagenesis rate)
pars[6] corresponds to lambda^c (cladogenesis rate) for type 2 species
pars[7] corresponds to mu (extinction rate) for type 2 species
pars[8] corresponds to K (clade-level carrying capacity) for type 2 species. Set K=Inf for non-diversity dependence.
pars[9] corresponds to gamma (immigration rate) for type 2 species
pars[10] corresponds to lambda^a (anagenesis rate) for type 2 species
The elements 6:10 are optional and are required only when type 2 species are included.

island_ontogeny

a string describing the type of island ontogeny. Can be "const", "beta" for a beta function describing area through time, or "linear" for a linear function

Apars

A numeric vector:

  • [1]: maximum area

  • [2]: value from 0 to 1 indicating where in the island's history the peak area is achieved

  • [3]: sharpness of peak

  • [4]: total island age

Epars

a numeric vector:

  • [1]: minimum extinction when area is at peak

  • [2]: extinction rate when current area is 0.10 of maximum area

mainland_n

The size of the mainland pool, i.e the number of species that can potentially colonize the island

resolution

numeric indicating resolution of plot. Should be < 0.

Value

A composite plot containing the STT plot, and variation in area, extinction rate, cladogenesis rate and immigration rate

Author(s)

Pedro Neves


xieshu95/Trait_dependent_TraiSIE documentation built on Nov. 22, 2019, 7:51 a.m.