set_dvid#

pharmpy.modeling.set_dvid(model, name)[source]#

Set a column to act as DVID. Replace DVID if one is already set.

Parameters:
  • model (Model) – Pharmpy model

  • name (str) – Name of DVID column

Returns:

Model – Pharmpy model object