Create template data sets for simulationSource:
These functions expand all combinations of arguments using
expand.grid(). The result always has only one row for one individual.
evd_expand() to convert nmtran names (e.g. AMT
or CMT) to upper case (see
An ID column is added as
seq(nrow(ans)) if not supplied by the user. For
expand.ev, defaults also added include
cmt = 1,
time = 0,
evid = 1.
total is included, then
addl is derived as
total - 1. If
included, then an infusion rate is derived for row where
tinf is greater