run_iivsearch {pharmr}R Documentation

run_iivsearch

Description

Run IIVsearch tool. For more details, see :ref:iivsearch.

Usage

run_iivsearch(
  algorithm,
  iiv_strategy = "no_add",
  rank_type = "bic",
  cutoff = NULL,
  results = NULL,
  model = NULL,
  ...
)

Arguments

algorithm

(str) Which algorithm to run (brute_force, brute_force_no_of_etas, brute_force_block_structure)

iiv_strategy

(str) If/how IIV should be added to start model. Possible strategies are 'no_add', 'add_diagonal', or 'fullblock'. Default is 'no_add'

rank_type

(str) Which ranking type should be used (OFV, AIC, BIC). Default is BIC

cutoff

(numeric (optional)) Cutoff for which value of the ranking function that is considered significant. Default is NULL (all models will be ranked)

results

(ModelfitResults (optional)) Results for model

model

(Model (optional)) Pharmpy mode

...

Arguments to pass to tool

Value

(IIVSearchResults) IIVsearch tool result object

Examples

## Not run: 
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
run_iivsearch('brute_force', results=results, model=model)

## End(Not run)


[Package pharmr version 0.96.0 Index]