View source: R/DAISIE_plot_pc_rates.R
DAISIE_plot_pc_rates | R Documentation |
Plot per capita STT and per-capita rate change thourgh simulation
DAISIE_plot_pc_rates(
total_time,
pars,
island_ontogeny,
sea_level = "const",
area_pars,
peak,
hyper_pars,
mainland_n = 1000,
resolution = 0.001,
simulation_outputs = NULL
)
total_time |
Numeric defining the length of the simulation in time units. |
pars |
A numeric vector containing the model parameters:
Elements 6:10 are required only when type 2 species are included
or in the rate shift model. For |
island_ontogeny |
In |
sea_level |
In |
area_pars |
A named list containing area and sea level parameters as
created by
|
peak |
A numeric value specifying the peakiness (or shaprness) of the
ontogeny curve. Higher values imply peakier ontogeny. This value is
internally calculated by |
hyper_pars |
A named list of numeric hyperparameters for the rate
calculations as returned by
|
mainland_n |
A numeric stating the number of mainland species, that is the number of species that can potentially colonize the island. If using a clade-specific diversity dependence, this value is set to 1. If using an island-wide diversity dependence, this value is set to the number of mainland species. |
resolution |
numeric indicating resolution of plot. Should be < 0. |
simulation_outputs |
A list with matrices and vectors of simulation produced by DAISIE_sim functions. |
A composite plot containing the STT plot, and variation in area, extinction rate, cladogenesis rate and immigration rate
Pedro Neves
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.