Learn R Programming

pharmr (version 1.4.0)

get_doseid: 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)

Value

(data.frame) DOSEIDs

Arguments

model

(Model) Pharmpy model

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
get_doseid(model)
}

Run the code above in your browser using DataLab