run_allometry
Run allometry tool. For more details, see :ref:allometry
.
run_allometry( model = NULL, results = NULL, allometric_variable = "WT", reference_value = 70, parameters = NULL, initials = NULL, lower_bounds = NULL, upper_bounds = NULL, fixed = TRUE, ... )
model
: (Model (optional)) Pharmpy modelresults
: (ModelfitResults (optional)) Results for modelallometric_variable
: (str or Expr) Name of the variable to use for allometric scaling (default is WT)reference_value
: (str or numeric or Expr) Reference value for the allometric variable (default is 70)parameters
: (array(str or Expr) (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(AllometryResults) Allometry tool result object
## 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)