DAISIE_sample_event: Samples what event to happen next

Description Usage Arguments Value Author(s)

Description

Samples what event to happen next

Usage

1
DAISIE_sample_event(rates, island_ontogeny = NULL)

Arguments

rates

numeric list with probability rates for each event. In the ontogeny case it also contains the maximum possible probability for the event at each timestep.

island_ontogeny

a string describing the type of island ontogeny. Can be NULL, "beta" for a beta function describing area through time, or "linear" for a linear function

Value

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

Author(s)

Pedro Neves


joshwlambert/DAISIEsim documentation built on June 5, 2019, 7:58 a.m.