has_first_order_elimination#
- pharmpy.modeling.has_first_order_elimination(model)[source]#
Check if the model describes first order elimination
This function relies on heuristics and will not be able to detect all possible ways of coding the first order elimination.
- Parameters:
model (Model) – Pharmpy model
- Returns:
bool – True if model has describes first order elimination
Examples
>>> from pharmpy.modeling import * >>> model = load_example_model("pheno") >>> has_first_order_elimination(model) True