Learn R Programming

pharmr (version 0.96.0)

run_estmethod: run_estmethod

Description

Run estmethod tool.

Usage

run_estmethod(
  algorithm,
  methods = NULL,
  solvers = NULL,
  results = NULL,
  model = NULL,
  ...
)

Value

(EstMethodResults) Estmethod tool result object

Arguments

algorithm

(str) The algorithm to use (can be 'exhaustive', 'exhaustive_with_update' or 'exhaustive_only_eval')

methods

(array(str) or str (optional)) List of estimation methods to test. Can be specified as 'all', a vector of methods, or NULL (to not test any estimation method)

solvers

(array(str) or str (optional)) List of solver to test. Can be specified as 'all', a vector of solvers, or NULL (to not test any solver)

results

(ModelfitResults (optional)) Results for model

model

(Model (optional)) Pharmpy mode

...

Arguments to pass to tool

Examples

Run this code
if (FALSE) {
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
methods <- c('imp', 'saem')
run_estmethod('reduced', methods=methods, solvers='all', results=results, model=model)
}

Run the code above in your browser using DataLab