list<-read.csv("c:\\temp\\data.csv")
list
library(survival)
status<-1*(>0)
plot(survfit(Surv(status,time)~1,data=list),ylab="Survivorship",xlab="Time")
model<-survfit(Surv(time,status)~1, data=list

plot(survfit(Surv(status,time)~1,data=list),ylab="Survivorship",xlab="Time")
Error in Surv(status, time) : Time and status are different lengths

what does it means (time and status are different lengths?)
please do help me..
thank you very much :)

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to