Re: [R] Capturing coxph warnings and errors

2008-06-18 Thread Terry Therneau
Error in fitter(X, Y, strats, offset, init, control, weights = weights, : NA/NaN/Inf in foreign function call (arg 6) In addition: Warning message: In fitter(X, Y, strats, offset, init, control, weights = weights, : Ran out of iterations and did not converge --- The warning message

Re: [R] Capturing coxph warnings and errors

2008-06-18 Thread Daniel Brewer
Hi, I have enclosed the data load(coxtest.rdata) to get it into R. Here is the command line to produce the error coxph(Surv(RecFollowUpTime,Rec)~values,data=test) As you can see the values are almost all the same value, which is probably causing the problem. Dan Terry Therneau wrote: Error

[R] Capturing coxph warnings and errors

2008-06-17 Thread Daniel Brewer
Hi, I have a script that takes a subset of genes on a microarray and tries to fit a coxph model to the expression values for each gene. This seems to work fine but in some cases it produces warnings and/or errors. For example: Error in fitter(X, Y, strats, offset, init, control, weights =