| build_dose_records | R Documentation |
Build NONMEM dose records from an EX-like data.frame.
EX must contain: SUBJID, DAT2, TIME, AMT, RATE.
Optional: CMT (defaults to dose_cmt).
Output rows have MDV = 1, DV = 0.
build_dose_records(EX, dose_cmt = 1L)
EX |
data.frame with dose information. |
dose_cmt |
default compartment for dose records lacking a CMT column. |
data.frame of dose records with columns SUBJID, DAT2, TIME, AMT, RATE, CMT, DV, MDV.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.