powered by
Get a DOSEID series from the dataset with an id of each dose period starting from 1
If a a dose and observation exist at the same time point the observation will be counted towards the previous dose.
get_doseid(model)
(data.frame) DOSEIDs
(Model) Pharmpy model
if (FALSE) { model <- load_example_model("pheno") get_doseid(model) }
Run the code above in your browser using DataLab