Convert PKPDsim regimen to NONMEM table (doses only)
regimen_to_nm( reg = NULL, dose_cmt = 1, n_ind = 1, t_obs = NULL, obs_cmt = 1, bioav = NULL )
reg
: PKPDsim
regimen, created using new_regimen()
functiondose_cmt
: dosing compartment, if not specified in reg
objectn_ind
: repeat for n_ind
subjectst_obs
: add observation time(s)obs_cmt
: observation compartment for added observation time(s)bioav
: bioavailability (numeric vector, can not be a parameter)Data frame containing doses