powered by
Run Automatic Model Development (AMD) tool
Runs structural modelsearch, IIV building, and ruvsearch
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 )
(Model) Reference to the same model object
(Model or str) Read model object/Path to a dataset
(ModelfitResults (optional)) Reults of input if input is a model
(str) Type of model to build. Either 'pk_oral' or 'pk_iv'
(numeric) Initial estimate for the population clearance
(numeric) Initial estimate for the central compartment population volume
(numeric) Initial estimate for the mean absorption time (not for iv models)
(str (optional)) MFL for search space for structural model
(str (optional)) Method for how to remove LOQ data. See transform_blq for vector of available methods
transform_blq
(str (optional)) Lower limit of quantification. If NULL LLOQ column from dataset will be used
(array(str) (optional)) Runorder of components
(str (optional)) Variable to use for allometry
(str (optional)) Name of occasion column
(str (optional)) Path to run AMD in
(logical (optional)) Whether to allow resuming previous run
run_iiv
run_tool
if (FALSE) { model <- load_example_model("pheno") results <- load_example_modelfit_results("pheno") run_amd(model, results=results) }
Run the code above in your browser using DataLab