Skip to content
Prev 154665 / 398506 Next

tryCatch

condition.
If I've read this correctly, the problem is not so much about tryCatch, as 
it is about testing for NaNs.  If delM is NaN, then your condition is NaN
missing value wehre TRUE/FALSE is needed.

You need to test for NaN in your condition using is.nan(), 
e.g. replace 
delM > S 

with 

is.nan(delM) || delM > S

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}