Dear Jonathan,
This error appear when the number of censored time is not equal to different
identifier numbers. E.g. It is possible you have not censored times for all
subjects. In this case you have to add another data with the same identitier
time equal to 0 and censored 0. For example:
If you
I am trying to analyse recurrent failure times using survfitr
from the survrec package. To do this, I need to "Create a survival
recurrent object" using Survr. But, when I do this, I get an error
"Error in Survr(r1d[, 1], r1d[, 5], r1d[, 6]) : data doesn't match".
Here, r1d[,1] is the identifier