Learn R Programming

neldermead (version 1.0-12)

optimset.method: Default set of optimization options

Description

This function returns a default set of optimization options for defined 'methods'; optimset.method is called by optimset when a method was provided as input. Currently, the only valid method is 'fminsearch'.

Usage

optimset.method(method = NULL)

Arguments

method

A character string.

Value

Returns a list with the following fields: Display, FunValCheck, MaxFunEvals, MaxIter, OutputFcn, PlotFcns, TolFun, and TolX.

See Also

optimset

Examples

Run this code
# NOT RUN {
  optimset.method('fminsearch')
  # Will fail
  try(optimset.method('abc'))
# }

Run the code above in your browser using DataLab