Entering edit mode
7.9 years ago
rsabrina93
▴
10
I want to add censored data info on my plot how to I do that
try_surv <- survfit(Surv(Survival,Vital_status)~ 1, conf.type="none") plot(try_surv, xlab="Survival", ylab="Survival Probability") I got a plot like this :
I want the vertical lines on the curve to mark the censored data.
thank you @sysbiocoder it worked.
Is there a way to put the number of samples included in each curve on the plot?