get_cmt function

get_cmt

get_cmt

Get the cmt (compartment) column from the model dataset

If a cmt column is present this will be extracted otherwise a cmt column will be created. If created, multiple dose compartments are dependent on the presence of an admid type column, otherwise, dose/non-dose will be considered.

get_cmt(model)

Arguments

  • model: (Model) Pharmpy model

Returns

(data.frame) CMT

  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04