Extended Convergence Checking
Primarily internal code for checking optimization convergence, see convergence for a more detailed discussion.
checkConv(derivs, coefs, ctrl, lbound, debug = FALSE)
typically the "derivs" attribute of
optimizeLmer(); with "gradients" and possibly "Hessian" component
current coefficient estimates
list of lists, each with
actioncharacter strings specifying what should happen when a check triggers, and
tolnumerical tolerances, as is the result of
vector of lower bounds for random-effects parameters only (length is taken to determine number of RE parameters)
enable debugging output, useful if some checks are on "ignore", but would "trigger"
A result list containing
The return code for the check
A character vector of warnings and messages generated by the check