set_covariates#

pharmpy.modeling.set_covariates(model, covariates)[source]#

Set columns in the dataset to be covariates in the datainfo

Parameters:
  • model (Model) – Pharmpy model

  • covariates (list) – List of column names

Returns:

Model – Pharmpy model object