Skip to content

change maxiter for nls

2 messages · Xiaodong Jin, Peter Dalgaard

#
Xiaodong Jin <close2ceo at yahoo.com> writes:
You need 

nlc <- nls.control(maxiter = 1000)
nls(..., control=nlc)

And yes, I suppose both help pages could be clearer about this...