Learn R Programming

nimble (version 1.2.1)

optimResultNimbleList: Data type for the return value of nimOptim

Description

nimbleList definition for the type of nimbleList returned by nimOptim.

Usage

optimResultNimbleList

Arguments

Format

An object of class list of length 1.

Fields

par

The best set of parameters found.

value

The value of fn corresponding to par.

counts

A two-element integer vector giving the number of calls to fn and gr respectively.

convergence

An integer code. 0 indicates successful completion. Possible error codes are 1 indicates that the iteration limit maxit had been reached. 10 indicates degeneracy of the Nelder-Mead simplex. 51 indicates a warning from the "L-BFGS-B" method; see component message for further details. 52 indicates an error from the "L-BFGS-B" method; see component message for further details.

message

A character string giving any additional information returned by the optimizer, or NULL.

hessian

Only if argument hessian is true. A symmetric matrix giving an estimate of the Hessian at the solution found.

See Also

optim, nimOptim