Couldn't reproduce your error (but I did get a warning message):
ads1S - with(ads1,Surv(INTERVAL_START,EVENT,STATUS,type=c('counting')))
Warning message:
In Surv(INTERVAL_START, EVENT, STATUS, type = c(counting)) :
Stop time must be start time, NA created
cox_out -
Hello,
I've executed the following predict.coxph function to enable prediction for
new variable values (error is included).
*predict(cox_out,newdata=data.frame(Meter3.Value=100.001,
Meter4.Value=200.001,Meter5.Value=300.001,Meter10.Value=
400.001,type=expected))
Error in model.frame.default(data
2 matches
Mail list logo