Re: [R] error in nls, step factor reduced below minFactor

From: Peter Ehlers <ehlers_at_ucalgary.ca>
Date: Mon, 28 Mar 2011 19:28:26 -0700

On 2011-03-28 10:25, Steve Greiner wrote:
> Hello,
> I've seen various threads on people reporting:
>
>
> step factor 0.000488281 reduced below `minFactor' of 0.000976563
>
> While I know how to set the minFactor, what I'd like to have happen is for nls to return to me, the last or closest fitted parameters before it errors out. In other words, so I don't get convergence, I'd still like to acquire the values of the parameters last tried? Can you tell me how get nls to return to me the last set of parameters rather than just stopping?

Isn't that what setting trace=TRUE does?

Peter Ehlers

>
> Regards
> Steven P. Greiner, Ph.D.
>
> Risk Head / FactSet Research System
> 311 South Wacker
> Chicago, IL 60606
> sgreiner_at_factset.com<mailto:sgreiner_at_factset.com>
> 312 566 5109 (w)
> 585 261 7138 (c)
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help_at_r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 29 Mar 2011 - 02:42:23 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 29 Mar 2011 - 09:10:25 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive