powered by
Run allometry tool. For more details, see :ref:allometry.
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, ... )
(AllometryResults) Allometry tool result object
(Model (optional)) Pharmpy model
(ModelfitResults (optional)) Results for model
(str) Name of the variable to use for allometric scaling (default is WT)
(str or numeric) Reference value for the allometric variable (default is 70)
(array(str) (optional)) Parameters to apply scaling to (default is all CL, Q and V parameters)
(array(numeric) (optional)) Initial estimates for the exponents. (default is to use 0.75 for CL and Qs and 1 for Vs)
(array(numeric) (optional)) Lower bounds for the exponents. (default is 0 for all parameters)
(array(numeric) (optional)) Upper bounds for the exponents. (default is 2 for all parameters)
(logical) Should the exponents be fixed or not. (default TRUE
Arguments to pass to tool
if (FALSE) { model <- load_example_model("pheno") results <- load_example_modelfit_results("pheno") run_allometry(model=model, results=results, allometric_variable='WGT') }
Run the code above in your browser using DataLab