Description Usage Arguments Value
Assign attributes to the newly "created" individuals in the cohort
1 | setNewAttr(dat, at, nNew, scenario)
|
dat |
the current cohort |
at |
the current date |
nNew |
the number of new patients |
scenario |
the scenario's name |
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.