The R Project SVN R

Rev

Rev 88624 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 88624 Rev 90049
Line 100... Line 100...
100
  \code{"SANN"} method depends critically on the settings of the control
100
  \code{"SANN"} method depends critically on the settings of the control
101
  parameters. It is not a general-purpose method but can be very useful
101
  parameters. It is not a general-purpose method but can be very useful
102
  in getting to a good value on a very rough surface.
102
  in getting to a good value on a very rough surface.
103
 
103
 
104
  Method \code{"Brent"} is for one-dimensional problems only, using
104
  Method \code{"Brent"} is for one-dimensional problems only, using
105
  \code{\link{optimize}(<ff>, lower, upper, tol = control$reltol)} where
105
  \code{\link{optimize}(\var{ff}, lower, upper, tol = control$reltol)} where
106
  \code{<ff>} is \code{function(par) fn(par, ...)/control$fnscale}.  It can
106
  \code{\var{ff}} is \code{function(par) fn(par, ...)/control$fnscale}.  It can
107
  be useful in cases when
107
  be useful in cases when
108
  \code{optim()} is used inside other functions where only \code{method}
108
  \code{optim()} is used inside other functions where only \code{method}
109
  can be specified, such as in \code{\link{mle}} from package \pkg{stats4}.
109
  can be specified, such as in \code{\link{mle}} from package \pkg{stats4}.
110
 
110
 
111
  Function \code{fn} can return \code{NA} or \code{Inf} if the function
111
  Function \code{fn} can return \code{NA} or \code{Inf} if the function