add_admid: add_admid

View source: R/functions_wrapper.R

add_admidR Documentation

add_admid

Description

Add an admid column to the model dataset and datainfo. Dependent on the presence of a CMT column in order to add admid correctly.

When generated, admids of events in between doses is set to the last used admid.

Usage

add_admid(model)

Arguments

model

(Model) Pharmpy model

Value

(model : Model) Pharmpy model

See Also

get_admid : Get or create an admid column

get_cmt : Get or create a cmt column


pharmpy/pharmr documentation built on Feb. 15, 2025, 3:22 a.m.