get_doseid {pharmr}R Documentation

get_doseid

Description

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.

Usage

get_doseid(model)

Arguments

model

(Model) Pharmpy model

Value

(data.frame) DOSEIDs

Examples

## Not run: 
model <- load_example_model("pheno")
get_doseid(model)

## End(Not run)


[Package pharmr version 1.0.1 Index]