Identifies parameters at or beyond their lower or upper optimization bounds.
Usage
check_bounds(opt, bounds)
Arguments
- opt
An optimised RTMB object. Must contain a par element with
named parameter vector.
- bounds
A data.frame of bounds, same length as opt$par.
Value
A subset of bounds, preserving its parameter,
init, lower, and upper columns and adding an integer
index column for the position in the active parameter vector.