get_model_covariates function

get_model_covariates

get_model_covariates

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.

get_model_covariates(model, strings = FALSE)

Arguments

  • model: (Model) Pharmpy model
  • strings: (logical) Return strings instead of symbols? FALSE (default) will give symbols

Returns

(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)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04