etTrans | R Documentation |
Event translation for rxode2
etTrans(
inData,
obj,
addCmt = FALSE,
dropUnits = FALSE,
allTimeVar = FALSE,
keepDosingOnly = FALSE,
combineDvid = NULL,
keep = character(0),
addlKeepsCov = FALSE,
addlDropSs = TRUE,
ssAtDoseTime = TRUE,
iCov = NULL
)
inData |
Data frame to translate |
obj |
object where model variables can be extracted from |
addCmt |
Add compartment to data frame (default |
dropUnits |
Boolean to drop the units (default |
allTimeVar |
Treat all covariates as if they were time-varying |
keepDosingOnly |
keep the individuals who only have dosing records and any trailing dosing records after the last observation. |
combineDvid |
is a boolean indicating if rxode2 will use |
keep |
This is a named vector of items you want to keep in the final rxode2 dataset. For added rxode2 event records (if seen), last observation carried forward will be used. |
addlKeepsCov |
This determines if the additional dosing items
repeats the dose only ( |
addlDropSs |
When there are steady state doses with an |
ssAtDoseTime |
Boolean that when |
iCov |
A data frame of individual non-time varying covariates
to combine with the |
Object for solving in rxode2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.