From: Rachel Pearce <rachelpearce_at_msn.com>

Date: Thu 17 Mar 2005 - 23:41:30 EST

language R

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 17 23:46:49 2005

Date: Thu 17 Mar 2005 - 23:41:30 EST

Here is the relevant segment of code:

> plot(survfit(Surv(OS,Status)~shortishcr1),main='Overall Survival by

factor',

+ xlab='Years',ylab='% surviving',lty=c(1,2),xscale=365.25,yscale=100)

> legend(5,80,c('Factor=1','Factor=2'),lty=c(1,2))

If I exclude the scaling altogether:

> plot(survfit(Surv(OS,Status)~shortishcr1),main='Overall Survival by

factor',

+ xlab='Years',ylab='% surviving',lty=c(1,2),)

> legend(1825,.8,c('Factor=1','Factor=2'),lty=c(1,2))

then the legend appears exactly as expected.

Here is my version information:

arch i386 os mingw32 system i386, mingw32 status major 2 minor 0.1 year 2004 month 11 day 15

language R

Rachel

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 17 23:46:49 2005

*
This archive was generated by hypermail 2.1.8
: Fri 03 Mar 2006 - 03:30:50 EST
*