[R] Alternative to nlm()

Dieter Menne dieter.menne at menne-biomed.de
Sat Sep 24 11:35:57 CEST 2005


Marion Wittmann <mwittmann <at> bren.ucsb.edu> writes:

> 
>  I am using the nlm function in a minimization exercise but have
> consistently received the code: "last global step failed to locate a point
> lower than 'estimate'...." 
.. 
> So it seems that this function is only finding a local minimum, not
> necessarily a global minimum. 
> 
...
 
Try ?optim which has a few methods with a somewhat broader scope.

Dieter




More information about the R-help mailing list