get_doseid function

get_doseid

get_doseid

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)

Arguments

  • model: (Model) Pharmpy model

Returns

(data.frame) DOSEIDs

Examples

## Not run: model <- load_example_model("pheno") get_doseid(model) ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04