get_model_covariates {pharmr} | R Documentation |
get_model_covariates
Description
List of covariates used in model
A covariate in the model is here defined to be a data item affecting the model prediction excluding dosing items that are not used in model code.
Usage
get_model_covariates(model, strings = FALSE)
Arguments
model |
(Model) Pharmpy model |
strings |
(logical) Return strings instead of symbols? FALSE (default) will give symbols |
Value
(vector) Covariate symbols or names
Examples
## Not run:
model <- load_example_model("pheno")
get_model_covariates(model)
get_model_covariates(model, strings=TRUE)
## End(Not run)
[Package pharmr version 1.0.1 Index]