[R] Error handling

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Thu Mar 2 17:43:01 CET 2000


"Simon  Bond" <bond at graylab.ac.uk> writes:

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

Have a look at the try() function in 1.0.0. Or look at restart() which
I think is already in 0.99.0.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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