Learn R Programming

mrds (version 2.3.0)

check.bounds: Check parameters bounds during optimisations

Description

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)

Value

TRUE if parameters are close to the bound, else FALSE

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

Author

Dave Miller; Jeff Laake