translate_sea_level: Translate user-friendly sea-level codes to numerics

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/DAISIE_utils.R

Description

This function simulates islands with given cladogenesis, extinction, Kprime, immigration and anagenesis parameters. If a single parameter set is provided (5 parameters) it simulates islands where all species have the same macro-evolutionary process. If two paramater sets (10 parameters) are provided, it simulates islands where two different macro-evolutionary processes operate, one applying to type 1 species and other to type 2 species. If two parameter sets and a time shift (11 parameters) are provided, it simulates islands where at the given time a shift between the parameter sets will occur.

Returns R list object that contains the simulated islands

Usage

1

Arguments

sea_level

In DAISIE_sim_time_dependent and plotting a string describing the type of sea level. Can be "const" or "sine" for a sine function describing area through time. String checked by is_sea_level_input.
In all other functions a numeric describing the type of sea level. Can be 0 for constant, 1 for a sine function describing area through time.

Value

Numeric, 0 for null-sea-level, 1 for sine function

Author(s)

Luis Valente and Albert Phillimore

References

Valente, L.M., A.B. Phillimore and R.S. Etienne (2015). Equilibrium and non-equilibrium dynamics simultaneously operate in the Galapagos islands. Ecology Letters 18: 844-852. Hauffe, T., D. Delicado, R.S. Etienne and L. Valente (submitted). Lake expansion increases equilibrium diversity via the target effect of island biogeography.

See Also

DAISIE_format_CS DAISIE_plot_sims

Examples

1
tanslated_sea_level <- translate_sea_level("const")

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