run_amd {pharmr} | R Documentation |
run_amd
Description
Run Automatic Model Development (AMD) tool
Runs structural modelsearch, IIV building, and ruvsearch
Usage
run_amd(
input,
results = NULL,
modeltype = "pk_oral",
cl_init = 0.01,
vc_init = 1,
mat_init = 0.1,
search_space = NULL,
lloq_method = NULL,
lloq_limit = NULL,
order = NULL,
allometric_variable = NULL,
occasion = NULL,
path = NULL,
resume = FALSE
)
Arguments
input |
(Model or str) Read model object/Path to a dataset |
results |
(ModelfitResults (optional)) Reults of input if input is a model |
modeltype |
(str) Type of model to build. Either 'pk_oral' or 'pk_iv' |
cl_init |
(numeric) Initial estimate for the population clearance |
vc_init |
(numeric) Initial estimate for the central compartment population volume |
mat_init |
(numeric) Initial estimate for the mean absorption time (not for iv models) |
search_space |
(str (optional)) MFL for search space for structural model |
lloq_method |
(str (optional)) Method for how to remove LOQ data. See |
lloq_limit |
(str (optional)) Lower limit of quantification. If NULL LLOQ column from dataset will be used |
order |
(array(str) (optional)) Runorder of components |
allometric_variable |
(str (optional)) Variable to use for allometry |
occasion |
(str (optional)) Name of occasion column |
path |
(str (optional)) Path to run AMD in |
resume |
(logical (optional)) Whether to allow resuming previous run |
Value
(Model) Reference to the same model object
See Also
run_iiv
run_tool
Examples
## Not run:
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
run_amd(model, results=results)
## End(Not run)