run_allometry {pharmr}R Documentation

run_allometry

Description

Run allometry tool. For more details, see :ref:allometry.

Usage

run_allometry(
  model = NULL,
  results = NULL,
  allometric_variable = "WT",
  reference_value = 70,
  parameters = NULL,
  initials = NULL,
  lower_bounds = NULL,
  upper_bounds = NULL,
  fixed = TRUE,
  ...
)

Arguments

model

(Model (optional)) Pharmpy model

results

(ModelfitResults (optional)) Results for model

allometric_variable

(str) Name of the variable to use for allometric scaling (default is WT)

reference_value

(str or numeric) Reference value for the allometric variable (default is 70)

parameters

(array(str) (optional)) Parameters to apply scaling to (default is all CL, Q and V parameters)

initials

(array(numeric) (optional)) Initial estimates for the exponents. (default is to use 0.75 for CL and Qs and 1 for Vs)

lower_bounds

(array(numeric) (optional)) Lower bounds for the exponents. (default is 0 for all parameters)

upper_bounds

(array(numeric) (optional)) Upper bounds for the exponents. (default is 2 for all parameters)

fixed

(logical) Should the exponents be fixed or not. (default TRUE

...

Arguments to pass to tool

Value

(AllometryResults) Allometry tool result object

Examples

## Not run: 
model <- load_example_model("pheno")
results <- load_example_modelfit_results("pheno")
run_allometry(model=model, results=results, allometric_variable='WGT')

## End(Not run)


[Package pharmr version 0.96.0 Index]