Re: [R] using survfit

2007-10-29 Thread Daniel Malter
- cuncta stricte discussurus - -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von David Winsemius Gesendet: Monday, October 29, 2007 8:15 PM An: r Betreff: Re: [R] using survfit raymond chiruka wrote: >

Re: [R] using survfit

2007-10-29 Thread David Winsemius
raymond chiruka wrote: > hie > when i use plot.survfit to plot more than one graph why I only see the last > graph how do i see the other graphs.for example > > n=20 > n1=n/2 > n2=n/4 > a11=4;a12=4 ;a21=4 ;a22=4 > t1<-array(1,c(n1))

Re: [R] using survfit

2007-10-29 Thread Ritwik Sinha
Hi, You can use the par function to set the parameters of the plot to have multiple plots in one output. Have something like par(mfrow=c(2,1)) before your plot commands. You could also write the the outputs to a ps, pdf or jpeg file (look for the pdf, postscript and jpeg commands). That way the p

[R] using survfit

2007-10-29 Thread raymond chiruka
hie when i use plot.survfit to plot more than one graph why I only see the last graph how do i see the other graphs.for example n=20 n1=n/2 n2=n/4 a11=4;a12=4 ;a21=4 ;a22=4 t1<-array(1,c(n1)) t2<-array(2,c(n1))