I'm using R's coxph
function to fit a survival regression model, and I'm trying to model time dependent covariates (see this vignette). When fitting the model, I get the following error:
Error in aeqSurv(Y) :
aeqSurv exception, an interval has effective length 0
Other than the source code, I couldn't find any references to this error online. Would appreciate any ideas about how to handle this exception.
Surv
object viadput
I trust you could get some help. The error sound to me like for some eventstime == time2
:Surv(time, time2, event...)
– Anselme