Lu, Jiang wrote:
Thank you very much, Frank. I installed Design package and tried
survplot().
#R code
survplot(testfit,time.inc=365.25,xaxt='n',xlim=c(0,1826.25),ylim=c(0,1),conf='none',
fun=function(y)1-y,label.curves=list(keys=c('Med','Rev')),
abbrev.label=TRUE,n.risk=T
Thank you very much, Frank. I installed Design package and tried survplot().
#R code
survplot(testfit,time.inc=365.25,xaxt='n',xlim=c(0,1826.25),ylim=c(0,1),conf='none',
fun=function(y)1-y,label.curves=list(keys=c('Med','Rev')),
abbrev.label=TRUE,n.risk=TRUE)
# End of R code
Lu, Jiang wrote:
Dear R helper,
I encountered a problem when I tried to plot the cumulative failure rate
(i.e. 1 - survival probability). I have used the following code to plot. The
scenario is that patients are randomized to different treatment arm (rev in
the code), the PCI revascularization w
Dear R helper,
I encountered a problem when I tried to plot the cumulative failure rate
(i.e. 1 - survival probability). I have used the following code to plot. The
scenario is that patients are randomized to different treatment arm (rev in
the code), the PCI revascularization was monitored over 5
4 matches
Mail list logo