Displaying 1 result from an estimated 1 matches for "daystoevent".
2009 Apr 14
1
Function call error in cph/survest (package Design)
...ta=ovarian,surv=TRUE,x=TRUE,y=TRUE)
summary(cp)
# works ok
survest(cp,levels(ovarian$rx),times=500)
# Small data set, 223 rows, 3650 bytes
cc = read.table("http://www.menne-biomed.de/uni/cc.csv",header=TRUE)
#cc = read.table("cc.csv",header=TRUE)
dd = datadist(cc)
cp = cph(Surv(DaysToEvent,event)~ITTGroup,data=cc,surv=TRUE,x=TRUE,y=TRUE)
survest(cp,levels(cc$ITTGroup),times=100)
#Error in survfit.cph(list(coefficients = c(0.435291247251185,
-0.143015493753166 :
# NA/NaN/Inf in foreign function call (arg 13)
#In addition: Warning message:
#NAs introduced by coercion
#-------------...