harrelfe / rms

Regression Modeling Strategies
https://hbiostat.org/R/rms
Other
172 stars 48 forks source link

survplot - set your own axis #149

Open santsang opened 3 months ago

santsang commented 3 months ago

Hi

The documentary said that we add axes=F. I got an error message (don't remember the detail). In fact, it can be fixed by setting time.inc=50, e.g., I plot up to 50 years then xlim=c(0,50). We create the customised x axis as usual. I hope the info is useful to others.

I was very pleased when I fixed it.

Good day :)

Sandro