check_parameters_near_bounds function

check_parameters_near_bounds

check_parameters_near_bounds

Check if any estimated parameter value is close to its bounds

check_parameters_near_bounds( model, values, zero_limit = 0.001, significant_digits = 2 )

Arguments

  • model: (Model) Pharmpy model object
  • values: (array) Series of values with index a subset of parameter names.
  • zero_limit: (numeric) maximum distance to 0 bounds
  • significant_digits: (numeric) maximum distance to non-zero bounds in number of significant digits

Returns

(data.frame) Logical Series with same index as values

Examples

## Not run: model <- load_example_model("pheno") results <- load_example_modelfit_results("pheno") check_parameters_near_bounds(model, results$parameter_estimates) ## End(Not run)
  • Maintainer: Rikard Nordgren
  • License: LGPL (>= 3)
  • Last published: 2024-12-04