translate_island_ontogeny: Translate user-friendly ontogeny 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
translate_island_ontogeny(island_ontogeny)

Arguments

island_ontogeny

In DAISIE_sim_time_dependent, DAISIE_ML_CS and plotting a string describing the type of island ontogeny. Can be "const", "beta" for a beta function describing area through time. String checked by is_island_ontogeny_input.
In all other functions a numeric describing the type of island ontogeny. Can be 0 for constant, 1 for a beta function describing area through time. In ML functions island_ontogeny = NA assumes constant ontogeny.

Value

Numeric, 0 for null-ontogeny, 1 for beta 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
translated_ontogeny <- translate_island_ontogeny("const")

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