Find a Local Minimum of a Nonlinear Function

DESCRIPTION:

Find a local minimum of a nonlinear function.

This function is an S Version 3 generic (see Methods); method functions can be written to handle specific S Version 3 classes of data. Classes which already have methods for this function include:
rsm.lm optim.default is a synonym for nlminb.

USAGE:

optim(x, ...) 
optim.default(...)