powered by
Derive the physical unit of a variable in the model
Unit information for the dataset needs to be available. The variable can be defined in the code, a dataset olumn, a parameter or a random variable.
get_unit_of(model, variable)
(Unit) A unit expression
(Model) Pharmpy model object
(str) Find physical unit of this variable
if (FALSE) { model <- load_example_model("pheno") get_unit_of(model, "Y") get_unit_of(model, "VC") get_unit_of(model, "WGT") }
Run the code above in your browser using DataLab