Run Automatic Model Development (AMD) tool
run_amd(
input,
results = NULL,
modeltype = "basic_pk",
administration = "oral",
strategy = "default",
cl_init = NULL,
vc_init = NULL,
mat_init = NULL,
b_init = NULL,
emax_init = NULL,
ec50_init = NULL,
met_init = NULL,
search_space = NULL,
lloq_method = NULL,
lloq_limit = NULL,
allometric_variable = NULL,
occasion = NULL,
path = NULL,
resume = FALSE,
strictness = "minimization_successful or (rounding_errors and sigdigs>=0.1)",
dv_types = NULL,
mechanistic_covariates = NULL,
retries_strategy = "all_final",
seed = NULL,
parameter_uncertainty_method = NULL,
ignore_datainfo_fallback = FALSE,
.E = NULL
)
(AMDResults) Results for the run
(Model or str or data.frame) Starting model or dataset
(ModelfitResults (optional)) Reults of input if input is a model
(str) Type of model to build. Valid strings are 'basic_pk', 'pkpd', 'drug_metabolite' and 'tmdd'
(str) Route of administration. Either 'iv', 'oral' or 'ivoral'
(str) Run algorithm for AMD procedure. Valid options are 'default', 'reevaluation', 'SIR', 'SRI', and 'RSI'.
(numeric (optional)) Initial estimate for the population clearance
(numeric (optional)) Initial estimate for the central compartment population volume
(numeric (optional)) Initial estimate for the mean absorption time (not for iv models)
(numeric (optional)) Initial estimate for the baseline (PKPD model)
(numeric (optional)) Initial estimate for E_max (PKPD model)
(numeric (optional)) Initial estimate for EC_50 (PKPD model)
(numeric (optional)) Initial estimate for mean equilibration time (PKPD model)
(str (optional)) MFL for search space for structural and covariate model
(str (optional)) Method for how to remove LOQ data. See transform_blq
for vector of available methods
(numeric (optional)) Lower limit of quantification. If NULL LLOQ column from dataset will be used
(str or Expr (optional)) Variable to use for allometry. This option is deprecated. Please use ALLOMETRY in the mfl instead.
(str (optional)) Name of occasion column
(str (optional)) Path to run AMD in
(logical) Whether to allow resuming previous run
(str (optional)) Strictness criteria
(list(str=numeric) (optional)) Dictionary of DV types for TMDD models with multiple DVs.
(array(str or list(str)) (optional)) List of covariates or tuple of covariate and parameter combination to run in a separate proioritized covsearch run. For instance c("WT", ("CRCL", "CL")). The effects are extracted from the search space for covsearch.
(str) Whether or not to run retries tool. Valid options are 'skip', 'all_final' or 'final'. Default is 'final'.
(numeric (optional)) Random number generator or seed to be used.
(str (optional)) Parameter uncertainty method.
(logical) Ignore using datainfo to get information not given by the user. Default is FALSE
(list(str=numeric or str) (optional)) EXPERIMENTAL FEATURE. Dictionary of different E-values used in mBIC.
run_iiv
run_tool
if (FALSE) {
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
res <- run_amd(model, results=results)
}
Run the code above in your browser using DataLab