search for: overleap

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

Did you mean: overlap
2011 Mar 04
2
overleap an iteration within a for-loop when error message produced
...in parameter values leads to an error message: "(In sqrt(diag(S)) : NaNs produced, In sqrt(1/diag(V)) : NaNs produced, In cov2cor(S) : diag(.) had 0 or NA entries; non-finite result is doubtful)" obviously because "NaNs" were produced. Is it possible to tell R that it should overleap the iteration which produce the error message? Here is an example code (does not lead to an error message): for (subject in 1:10) { p[subject] = pmnorm(x = subject*c(-.3,1), varcov = diag(2)) } Assume that the 5th iteration (subject=5) leads to the error message. How can I tell R to con...