Re: [R] coxph error

2004-02-10 Thread Spencer Graves
Have you considered "try"? hope this helps. spencer graves Fredrick Schumacher wrote: R list: I am using a 'for' loop to run a number of different models (stratified by different variables) with coxph. The data becomes sparse when some strata are used causing the model to become

Re: [R] coxph error

2004-02-10 Thread Thomas Lumley
On Tue, 10 Feb 2004, Fredrick Schumacher wrote: > R list: > > > > I am using a 'for' loop to run a number of different models (stratified > by different variables) with coxph. The data becomes sparse when some > strata are used causing the model to become unstable. The following > error occurs

Re: [R] coxph error

2004-02-10 Thread Seth Falcon
Take a look at ?try and see the thread on this list of yesterday about how to use try to skip errors within a loop. On Tue, Feb 10, 2004 at 08:59:10AM -0500, Fredrick Schumacher wrote: > R list: > > > > I am using a 'for' loop to run a number of different models (stratified > by different vari

[R] coxph error

2004-02-10 Thread Fredrick Schumacher
R list: I am using a 'for' loop to run a number of different models (stratified by different variables) with coxph. The data becomes sparse when some strata are used causing the model to become unstable. The following error occurs and the analysis is terminated. >Error in fitter(X, Y, st