Skip to content
Back to formatted view

Raw Message

Message-ID: <3.0.6.32.20000302163615.007ca620@graylab.ac.uk>
Date: 2000-03-02T16:36:15Z
From: Simon  Bond
Subject: Error handling

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._