search for: bjrgester

Displaying 1 result from an estimated 1 matches for "bjrgester".

Did you mean: bjorgesater
2005 Jul 28
2
catching errors in a loop
Hello I can't figure out how to handle errors in R. I have a loop, e.g. for (i in 2:n) { . fit <- nls(model), start=list if any type of error occur write i to a text file . } I putted ?try? around the nls-expression and this let me run through the loop without R stopping (which I want because each loop takes some time so I do not want it to stop), but I also want to capture the