DAISIE_sample_event_cr: Samples what event to happen next

View source: R/DAISIE_sample_event_cr.R

DAISIE_sample_event_crR Documentation

Samples what event to happen next

Description

Samples what event to happen next

Usage

DAISIE_sample_event_cr(rates)

Arguments

rates

named list of numeric rates as returned by update_rates().

Value

numeric indicating what event will happen, or a supposed event that would happen in some timesteps of the ontogeny algorithm.

  • [1]: immigration event

  • [2]: extinction event

  • [3]: cladogenesis event

  • [4]: anagenesis event

Author(s)

Pedro Neves


DAISIE documentation built on Oct. 22, 2023, 1:06 a.m.