remove_covariate_effect function

remove_covariate_effect

remove_covariate_effect

Remove a covariate effect from an instance of :class:pharmpy.model.

remove_covariate_effect(model, parameter, covariate)

Arguments

  • model: (Model) Pharmpy model from which to remove the covariate effect.
  • parameter: (str) Name of parameter.
  • covariate: (str) Name of covariate.

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- load_example_model("pheno") has_covariate_effect(model, "CL", "WGT") model <- remove_covariate_effect(model, "CL", "WGT") has_covariate_effect(model, "CL", "WGT") ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04