Learn R Programming

pharmr (version 1.4.0)

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

Value

(model : Model) Pharmpy model

Arguments

model

(Model) Pharmpy model

See Also

get_admid : Get or create an admid column

get_cmt : Get or create a cmt column