[R] How can I fixe convergence=1 in optim

Ben Bolker bbolker at gmail.com
Sun Sep 5 07:03:57 CEST 2010


Peng, C <cpeng.usm <at> gmail.com> writes:

> 
> 
> To change the default maximum number of iterations (mxit =100 for derivative
> based algorithm), add mxit = whatever number you want.
> 

  that's "maxit"

i.e.

optim(...,control=list(maxit=...))



More information about the R-help mailing list