schedule_outcome: Schedule outcome

View source: R/events_hospital.R

schedule_outcomeR Documentation

Schedule outcome

Description

schedule individuals into follow up events based based on bernoulli draws of prob_successful

Usage

schedule_outcome(target, prob_successful, success_event, failure_event)

Arguments

target

the individuals to draw from

prob_successful

the probability each target individual is successful

success_event

will be scheduled on success

failure_event

will be scheduled on failure


mrc-ide/safir documentation built on Aug. 2, 2022, 10:47 a.m.