DAISIE_sample_event_cr: Samples what event to happen next
Description
Samples what event to happen next
Usage
DAISIE_sample_event_cr(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
Arguments
- rates
named list of numeric rates as returned by
update_rates()
.