sim_decide_event: Determines the event

Description Usage Arguments Value Author(s)

View source: R/sim_utils.R

Description

sim module

Usage

1
sim_decide_event(data, clade, deltas, l_2)

Arguments

data

contains all the information about the simulated process

clade

the id of the clade

deltas

in the Doob-Gillespie algorithm, the collection of delta_n and delta_t, which are, respectively, the change in number of species and the waiting time for the next event to occur

l_2

the matrix containing the information about how the subclades are nested into the main clade. See sls_sim.get_standard_l_2() for more info.

Value

the event

Author(s)

Giovanni Laudanno


richelbilderbeek/splendid documentation built on May 20, 2019, 9:42 a.m.