[R] catch error/warning message in a loop

About this list Date view Thread view Subject view Author view Attachment view

From: array chip (arrayprofile@yahoo.com)
Date: Sat 31 May 2003 - 09:28:44 EST


Message-id: <20030530232844.41267.qmail@web41203.mail.yahoo.com>

Hi, I am running cox regreesion (coxph) on a large
number of independent variables, one variable at a
time, using loop. At some point of the loop, the cox
regression stopped due to some errors. How can I know
at which variable the cox regression stopped so that I
can pinpoint the variable that causes the problem? I
guess this is not unique to cox regression, it is the
problem of catching the error/warning message promptly
in a loop.

tahnks

__________________________________

Yahoo! Calendar - Free online calendar with sync to Outlook(TM).

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Tue 01 Jul 2003 - 09:11:52 EST