create_basic_pk_model: 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
)
Value
(Model) Pharmpy model object
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)
Examples
Run this codeif (FALSE) {
model <- create_basic_pk_model('oral')
}
Run the code above in your browser using DataLab