powered by
Run Modelsearch tool. For more details, see :ref:modelsearch.
modelsearch
run_modelsearch( search_space, algorithm = "reduced_stepwise", iiv_strategy = "absorption_delay", rank_type = "bic", cutoff = NULL, results = NULL, model = NULL, strictness = "minimization_successful or (rounding_errors and sigdigs >= 0.1)", E = NULL, ... )
(ModelSearchResults) Modelsearch tool result object
(str or ModelFeatures) Search space to test. Either as a string or a ModelFeatures object.
(str) Algorithm to use.
(str) If/how IIV should be added to candidate models. Default is 'absorption_delay'.
(str) Which ranking type should be used. Default is BIC.
(numeric (optional)) Cutoff for which value of the ranking function that is considered significant. Default is NULL (all models will be ranked)
(ModelfitResults (optional)) Results for model
(Model (optional)) Pharmpy model
(str (optional)) Strictness criteria
(numeric or str (optional)) Expected number of predictors (used for mBIC). Must be set when using mBI
Arguments to pass to tool
if (FALSE) { model <- load_example_model("pheno") results <- load_example_modelfit_results("pheno") run_modelsearch('ABSORPTION(ZO);PERIPHERALS(1)', 'exhaustive', results=results, model=model) }
Run the code above in your browser using DataLab