Create observation records, given a specified t_obs vector
create_obs_records.RdCreate observation records, given a specified t_obs vector
Arguments
- data
simulation dataset (dose records), with at least
ID,EVIDand.regimencolumns. Its first observationCMT(subject 1) is used as the observation compartment when present.- t_obs
numeric vector of observation times.
- n_subjects
number of subjects to create observation records for.
- model
Pharmpy model object, used to determine the observation compartment when
datadoes not provide one.