remove_iiv#
- pharmpy.modeling.remove_iiv(model, to_remove=None)[source]#
Removes all IIV etas given a list with eta names and/or parameter names.
- Parameters:
model (Model) – Pharmpy model to create block effect on.
to_remove (str, list) – Name/names of etas and/or name/names of individual parameters to remove. If None, all etas that are IIVs will be removed. None is default.
- Returns:
Model – Pharmpy model object
Examples
>>> from pharmpy.modeling import * >>> model = load_example_model("pheno") >>> model = remove_iiv(model) >>> model.statements.find_assignment("CL") CL = TVCL
>>> model = load_example_model("pheno") >>> model = remove_iiv(model, "VC") >>> model.statements.find_assignment("VC") VC = TVV
See also