OptionalcontrolControl parameters (R's control). See OptimControl.
OptionalgrGradient of fn (numerical by central differences when omitted)
OptionalhessianAlso return the numerically differentiated Hessian at the solution. Default false.
OptionallowerLower bounds (L-BFGS-B and Brent), recycled. Default -Infinity.
OptionalmethodDefault "Nelder-Mead"
OptionalupperUpper bounds (L-BFGS-B and Brent), recycled. Default Infinity.
Options of optim