Displaying 1 result from an estimated 1 matches for "revreg".
Did you mean:
retreg
2012 Nov 06
3
Survplot, Y-axis in percent
...vplot
function.
However I have difficulties in turning the y axis to percent instead of the
default 0-1 scale.
Further I have tried the function yaxt="n" without any results. Any help in
this matter will be appreciated.
The code is posted below:
par(mfrow=c(1,1))
fit <- survfit(Surv(revreg$Tcuprev , revreg$Rcup_n_j_n)~revreg$RAceGrp_1Maz)
fit
survplot (fit, col=c("gray1","gray40"), lty=1, lwd = 1,
col.fill=c("gray50","gray80"),
mark.time= T, conf="bands" , conf.int=.95, add=F ,
xlim=c(0, 20) , time.inc = 4,...