arrival: arrival records the newly-infected individuals at the...

Description Usage Arguments Value

View source: R/arrival.R

Description

arrival records the newly-infected individuals at the previous time period, to add new individuals to the cohort

Usage

1
arrival(dat, at, scenario)

Arguments

dat

the current data on the cohort

at

the current date

scenario

scenario's name

Value

This function returns the dat object with updated treatment status for each individual, and the cohort summary in dat$epi with the number of lost to follow-up lfu, and the number of patients treated onTrt at each time unit.


grlurton/ImpactSimul documentation built on March 8, 2021, 12:05 a.m.