DAISIE_plot_cladogenesis: Plot cladogenesis rate through time

Description Usage Arguments Value Author(s)

View source: R/DAISIE_plot_params.R

Description

Plot cladogenesis rate through time

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
DAISIE_plot_cladogenesis(
  totaltime,
  K,
  area_pars,
  lac,
  island_ontogeny = "beta",
  hyper_pars = NULL,
  dist_pars = NULL,
  removed_timepoints,
  resolution
)

Arguments

totaltime

total time of simulation

K

K (clade-level carrying capacity)

area_pars

a named list containing area and sea level parameters as created by create_area_pars:

  • [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

  • [5]: amplitude of area fluctuation from sea level

  • [6]: frequency of sine wave of area change from sea level

lac

minimum per capita cladogenesis rate

island_ontogeny

a string describing the type of island ontogeny. Can be NULL, beta for a beta function describing area through time.

hyper_pars

A numeric vector for hyperparameters for the rate calculations:

  • [1]: is d_0 the scaling parameter for exponent for calculating cladogenesis rate

  • [2]: is x the exponent for calculating extinction rate

  • [3]: is alpha, the exponent for calculating the immigration rate

  • [4]: is beta the exponent for calculating the anagenesis rate.

dist_pars

a numeric for the distance from the mainland.

removed_timepoints

starting position of time vector

resolution

resolution of time axis

Value

a plot with per capita cladogenesis rate through time and dataframe with immigration at corresponding time

Author(s)

Pedro Neves


xieshu95/DAISIE_new documentation built on March 20, 2020, 5:31 a.m.