set_lloq_data#
- pharmpy.modeling.set_lloq_data(model, value, lloq=None, blq=None)[source]#
Set a dv value for lloq data records
- Parameters:
model (Model) – Pharmpy model object
value (float or Expr) – The new dv value
lloq (float or str) – Value or column name for lower limit of quantification.
blq (str) – Column name for below limit of quantification indicator.
- Returns:
Model – Pharmpy model object
Examples
>>> from pharmpy.modeling import * >>> model = load_example_model("pheno") >>> model = set_lloq_data(model, 0, lloq=10)
See also