Displaying 2 results from an estimated 2 matches for "survr".
Did you mean:
surv
2003 Jan 17
1
Survr error
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 for each case, r1d[,5] is the time
of recurrence, r1d...
2008 Jun 17
2
R error using Survr function with gcmrec
Would someone be able to help with this question? I'm using the
Gcmrec, Survrec, and Design packages to do a power analysis on
simulated data. I'm receiving an error after using the Survr function
that all data must have a censoring time even after using the gcmrec
function: newdata<-addCenTime(olddata). My program is below. I'd
greatly appreciate any...