create_basic_pk_model function

create_basic_pk_model

create_basic_pk_model

Creates a basic pk model of given type. The model will be a one compartment model, with first order elimination and in the case of oral administration first order absorption with no absorption delay. The elimination rate will be (equation could not be rendered, see API doc on website)

create_basic_pk_model( administration = "iv", dataset_path = NULL, cl_init = 0.01, vc_init = 1, mat_init = 0.1 )

Arguments

  • administration: (str) Type of PK model to create. Supported are 'iv', 'oral' and 'ivoral'
  • dataset_path: (str (optional)) Optional path to a dataset
  • cl_init: (numeric) Initial estimate of the clearance parameter
  • vc_init: (numeric) Initial estimate of the central volume parameter
  • mat_init: (numeric) Initial estimate of the mean absorption time parameter (if applicable)

Returns

(Model) Pharmpy model object

Examples

## Not run: model <- create_basic_pk_model('oral') ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04