get_doseid {pharmr} | R Documentation |
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)
model |
(Model) Pharmpy model |
(data.frame) DOSEIDs
## Not run:
model <- load_example_model("pheno")
get_doseid(model)
## End(Not run)