Re: [R] NA/NaN/Inf in foreign function call (arg 6) error from coxph function

2013-02-14 Thread Terry Therneau
The NaN/Inf message is almost certainly from a singular fit. I would be interested in a copy of the data set to test it: data sets that cause this are rare, and help me to tune the convergence/signularity criteria in the program. Note: it is much easier to use coxph(survobj ~ therapy + Recep

Re: [R] NA/NaN/Inf in foreign function call (arg 6) error from coxph function

2013-02-13 Thread David Winsemius
On Feb 13, 2013, at 7:46 AM, Cindy Yao wrote: > Dear R-helpers: > > I am trying to fit a multivariate Cox proportional hazards model, > modelling survival outcome as a function of treatment and receptor > status. The data look like below: > > # structure of the data > str(sample.data) > List of

[R] NA/NaN/Inf in foreign function call (arg 6) error from coxph function

2013-02-13 Thread Cindy Yao
Dear R-helpers: I am trying to fit a multivariate Cox proportional hazards model, modelling survival outcome as a function of treatment and receptor status. The data look like below: # structure of the data str(sample.data) List of 4 $ survobj : Surv [1:129, 1:2] 0.8925+ 1.8836+ 2.1191+ 5.3744+