create_basic_pk_model {pharmr}R Documentation

create_basic_pk_model

Description

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)

Usage

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)

Value

(Model) Pharmpy model object

Examples

## Not run: 
model <- create_basic_pk_model('oral')

## End(Not run)


[Package pharmr version 1.0.1 Index]