[R] nls error handling
Jesus Maria Frias Celayeta
iosu at ucc.ie
Thu Jan 11 11:08:48 CET 2001
Gregg Rosenkranz wrote:
> I'm written a function that uses nls in a loop to fit a model to resampled data. Occasionally a sample > is drawn such that the algorithm (apparently) can't converge and...
Have a look to try(). If you do a try(nls(...)) your script will continue even
if your nls reports an error.
Jesus Maria Frias Celayeta, PhD.
Process Engineering Department
University College Cork,Cork
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help