[R] multiple nls - next fit even after convergence problem
dieter.menne at menne-biomed.de
Sat Aug 4 19:24:06 CEST 2007
GOUACHE David <D.GOUACHE <at> arvalisinstitutduvegetal.fr> writes:
> This is my original function :
> fit.log<-nls(surf.vert.tot ~ 100/(1+exp(((log(81))/a)*(sum.T.levee-b))),
> I've thought of just storing the 3 model results in a list, and then going
through each model object,
> but even then, when I have a convergence problem, the function breaks off.
try and catch as Gabor suggested, but nlslist in package nlme does this for you
the easy way.
More information about the R-help