Stack encounters when data from multiple encounters is available for the same ID, and TIME is starting at 0 for each encounter.
Source:R/stack_encounters.R
stack_encounters.Rd
Stack encounters when data from multiple encounters is available for the same ID, and TIME is starting at 0 for each encounter.
Arguments
- data
NONMEM input dataset
- gap
rounding resolution for next . E.g. if set to
100
and if the maximum encounter length in the data is 168 hours, will start the encounters at t = 0, 200, 400 etc.- reset_encounters
add an EVID=3 event to reset all compartments to 0 before starting the new encounter? Default is
TRUE
.- time
time column,
"TIME"
by default- verbose
verbose output