powered by
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.
get_cmt(model)
(data.frame) CMT
(Model) Pharmpy model