bd_sim: Simulate a constant-rate birth-death process.

Description Usage Arguments Author(s)

View source: R/bd_sim.R

Description

Simulate a constant-rate birth-death process.

Usage

1
bd_sim(bd_params, crown_age = NA, stem_age = NA, conditioned_on = "nothing")

Arguments

bd_params

BD parameters, as created by create_bd_params

crown_age

the crown age. Either crown_age or stem_age must be exclusively set

stem_age

the stem age Either crown_age or stem_age must be exclusively set

conditioned_on

conditioning of the simulation, can be:

  • nothing no conditioning, species can all go extinct

  • no_extinction species cannot all go extinct

Author(s)

Richel J.C. Bilderbeek


richelbilderbeek/becosys documentation built on Oct. 19, 2020, 9:20 a.m.