View source: R/functions_wrapper.R
create_basic_pk_model | R Documentation |
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
)
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) |
(Model) Pharmpy model object
## Not run:
model <- create_basic_pk_model('oral')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.