[R] error message when plotting survival curves
A Van Dyke
avandyk at med.wayne.edu
Mon Oct 20 20:22:08 CEST 2008
I am trying to plot survival curves using the following code as an example:
>rs1799964.coxph<-(coxph(Surv(sassurvmonths,status)~age+stage+rs1799964_TNFA,method="efron"))
>plot(rs1799964.coxph,lyt=c(1,3),xlab="Survival in Months",ylab="Proportion
Surviving")
I am gettingthe following error message:
>Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' and 'y' lengths differ
Any input to debugging this matter would be greatly appreciated. Thank you
in advance.
-Alison
--
View this message in context: http://www.nabble.com/error-message-when-plotting-survival-curves-tp20075771p20075771.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list