title: How to improve survrec plot in R?
body: <p>I am trying to improve the display of a survfit<strong>r</strong> 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. </p>
  
  <p><a href="https://www.rdocumentation.org/packages/survrec/versions/1.2-2/topics/plot.survfitr" rel="nofollow noreferrer">https://www.rdocumentation.org/packages/survrec/versions/1.2-2/topics/plot.survfitr</a></p>
  
  <p>I would like my survfit<strong>r</strong> object to be displayed like a singular event survival curve using with the ggsurvplot function. A good example can be seen here:</p>
  
  <p><a href="http://www.sthda.com/english/wiki/survival-analysis-basics" rel="nofollow noreferrer">http://www.sthda.com/english/wiki/survival-analysis-basics</a>  </p>
  
  <p>Any suggestions?</p>
  
  <p>Code I have tried:</p>
  
  <pre><code>plot(surfvitrResult, conf.int=TRUE, prob=FALSE, xlim=c(0,xMax), ylim=c(0,yMax))
  </code></pre>
  
  <p>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 survfit<strong>r</strong> object to be plotted similar to its singular survfit object as per the link above and screen grabbed here:</p>
  
  <p><a href="https://i.stack.imgur.com/CaEkd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CaEkd.png" alt="enter image description here"></a></p>