I did that. but the curve is not right. but earlier when I did the analysis with the same code it worked. why not for this.?
• 0 views
•
link
mrna_grade_surv<-coxph(Surv(Survival,Vital_status)~Grades,conf.type="none")
Error in Surv(Survival, Vital_status) : Time variable is not numeric
what do i do?
Most likely, you should convert your time variable to a numeric type. It could be as simple as using as.numeric() but it depends on what type your data is.
I did that. but the curve is not right. but earlier when I did the analysis with the same code it worked. why not for this.?
Log in to answer this question.
this is the sample data.