dot-sample.outer.events: .sample.outer.events

.sample.outer.eventsR Documentation

.sample.outer.events

Description

Support function for sim.outer.tree. Samples transmission, transition and migration events based on population dynamics of the Model.

Usage

.sample.outer.events(run, max.attempts = 10, chunk.size = 10000)

Arguments

run:

R6 object of class Run

max.attempts:

number of tries to sample events

Value

data frame of outer tree events, each made up of: time, event type, recipient CompartmentType and source CompartmentType


PoonLab/twt documentation built on Nov. 7, 2024, 4:18 a.m.