Re: [R] how to solve the step halving factor problems in gnls and nls

From: Dieter Menne <>
Date: Tue 19 Jul 2005 - 16:42:55 EST

Yimeng Lu <yl2058 <at>> writes:

> Could you give me some advice in
> solving the problem of such error message from gnls and nls?
> ## begin error message
> "Problem in gnls(y1 ~ glogit4(b, c, m, t, x), data.frame(x..: Step halving
> factor reduced below minimum in NLS step "

Try to set nlsTol in the optional control parameter (gnlsControl) to a larger value, e.g. 0.1 instead of default 0.001, but be sure to check your results make sense. If this should help, you can try intermediate values.

Dieter Menne mailing list PLEASE do read the posting guide! Received on Tue Jul 19 16:46:05 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:46 EST