[R] How to reset R settings to original state other than remove .Rdata and .Rhistory

2012-12-04 Thread Tian3507
Dear all, Do you know how to return all the R settings to original state? Other than .Rdata and .Rhistory Some weid thing happened to my machine. I was trying to get shaded confidence band ploted using survplot from rms liberary. It worked on one machine, but not on the other. I tried unsta

[R] Confidence bands with function survplot

2012-12-03 Thread Tian3507
Dear all, I am trying to plot KM curves with confidence bands with function survplot under package rms. However, the following codes do not seem to work. The KM curves are produced, but the confidence bands are not there. Any insights? Thanks in advance. library(rms) data genera