remove_unused_parameters_and_rvs#

pharmpy.modeling.remove_unused_parameters_and_rvs(model)[source]#

Remove any parameters and rvs that are not used in the model statements

Parameters:

model (Model) – Pharmpy model object

Returns:

Model – Pharmpy model object