run_linearize#

pharmpy.tools.run_linearize(model=None, results=None, model_name='linbase', description='', **kwargs)#

Linearize a model

Parameters:
  • model (Model) – Pharmpy model. Should use FOCEI or other EM-methods for estimation

  • results (ModelfitResults) – Results of estimation of model

  • model_name (str, optional) – New name of linearized model. The default is “linbase”.

  • description (str, optional) – Description of linearized model. The default is “”

  • kwargs – Arguments to pass to tool

Returns:

LinearizeResults – Linearize tool results object.