Event translation for RxODE
etTrans(
inData,
obj,
addCmt = FALSE,
dropUnits = FALSE,
allTimeVar = FALSE,
keepDosingOnly = FALSE,
combineDvid = NULL,
keep = character(0)
)
Data frame to translate
Model to translate data
Add compartment to data frame (default codeFALSE).
Boolean to drop the units (default FALSE
).
Treat all covariates as if they were time-varying
keep the individuals who only have dosing records and any trailing dosing records after the last observation.
is a boolean indicating if RxODE will use DVID
on observation
records to change the cmt
value; Useful for multiple-endpoint nlmixr models. By default
this is determined by option("RxODE.combine.dvid")
and if the option has not been set,
this is TRUE
. This typically does not affect RxODE simulations.
This is a named vector of items you want to keep in the final RxODE dataset. For added RxODE event records (if seen), last observation carried forward will be used.
Object for solving in RxODE