[R] Error handling

Simon Bond bond at graylab.ac.uk
Thu Mar 2 17:36:15 CET 2000


Dear R-Help,


I am trying to run the following:

apply(Data,1, fit-non-linear-curve)

where fit-non-linear-curve() is a bootstrapping procedure that uses the
nls() function. 

Unsuprisingly there are some lines in the Data for which the nls()
procedure fails, probably due to bad starting values.  How do I make R just
give up on that particular line of Data and carry on? I am using R 0.99 on
windows NT.

I would like to echo the praises of the R-development team.

Simon Bond



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 mailing list