powered by
Check if any estimated parameter value is close to its bounds
check_parameters_near_bounds( model, values, zero_limit = 0.001, significant_digits = 2 )
(data.frame) Logical Series with same index as values
(Model) Pharmpy model object
(array) Series of values with index a subset of parameter names.
(numeric) maximum distance to 0 bounds
(numeric) maximum distance to non-zero bounds in number of significant digits
if (FALSE) { model <- load_example_model("pheno") results <- load_example_modelfit_results("pheno") check_parameters_near_bounds(model, results$parameter_estimates) }
Run the code above in your browser using DataLab