Simple internal function to check that the optimisation didn't hit bounds.
Based on code that used to live in detfct.fit.opt
.
Usage
check.bounds(lt, lowerbounds, upperbounds, ddfobj, showit, setlower, setupper)
Arguments
- lt
optimisation object
- lowerbounds
current lower bounds
- upperbounds
current upper bounds
- ddfobj
ddf object
- showit
debug level
- setlower
were lower bounds set by the user
- setupper
were upper bounds set by the user
Value
TRUE
if parameters are close to the bound, else FALSE
Author
Dave Miller; Jeff Laake