get_admid {pharmr} | R Documentation |
get_admid
Description
Get the admid from model dataset
If an administration column is present this will be extracted otherwise an admid column will be created based on the admids of the present doses. This is dependent on the presence of a CMT column to be generated correctly.
When generated, admids of events in between doses is set to the last used admid.
Usage
get_admid(model)
Arguments
model |
(Model) Pharmpy model |
Value
(data.frame) ADMID
[Package pharmr version 1.0.1 Index]