View source: R/functions_wrapper.R
get_unit_of | R Documentation |
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)
model |
(Model) Pharmpy model object |
variable |
(str) Find physical unit of this variable |
(Unit) A unit expression
## Not run:
model <- load_example_model("pheno")
get_unit_of(model, "Y")
get_unit_of(model, "VC")
get_unit_of(model, "WGT")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.