I am trying to improve the display of a survfitr plot (as per the link below), with absolutely no luck. I get the impression I may have to redefine the plot function from scratch given I can't even change the xlab/ylab arguments without throwing warnings.
https://www.rdocumentation.org/packages/survrec/versions/1.2-2/topics/plot.survfitr
I would like my survfitr object to be displayed like a singular event survival curve using with the ggsurvplot function. A good example can be seen here:
http://www.sthda.com/english/wiki/survival-analysis-basics
Any suggestions?
Code I have tried:
plot(surfvitrResult, conf.int=TRUE, prob=FALSE, xlim=c(0,xMax), ylim=c(0,yMax))
When I try to add in xlab or ylab I get a "formal argument xlab" warning; I understand why this is happening, that's not my issue. I would like the survfitr object to be plotted similar to its singular survfit object as per the link above and screen grabbed here: