[R] Survplot, Y-axis in percent

David Winsemius dwinsemius at comcast.net
Tue Nov 6 22:30:26 CET 2012


On Nov 6, 2012, at 12:18 PM, maziar.mohaddes wrote:

>> As far as I can see, survplot.survfit (from package rms) is written with
> base graphics, so you need to suppress the 
>> default axis call with yaxt=FALSE, and replace it with your desired
>> values using axis(2, at=..., labels=...). 
> Thanks alot for your response. Unfortunately yaxt function does not seem to
> be supported  in survplot (rms package). 

'yaxt' is not a function, but rather a parameter given to survplot. And I admit I didn't look it up, so the correct call may be yaxt="n". I continue to make that mistake, so this might be an example showing why submitting test data is a good idea.


> 
>> You should also realize that Nabble is not Rhelp.
> Obviously My post has been malplaced, could u please guide me in where to
> place to post?

At the bottom of every posting to Rhelp are two links:

One to the Posting Guide:

http://www.R-project.org/posting-guide.html

The other to the page with information and links to support subscriptions and choices for delivery:

https://stat.ethz.ch/mailman/listinfo/r-help


> 
> Thanks in advance
> -- 
> Maziar Mohaddes, MD
> Gothenburg, Sweden
> 
> ______________________________________________
> R-help@ mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 
> 
> 
> 
> --
> View this message in context: http://r.789695.n4.nabble.com/Survplot-Y-axis-in-percent-tp4648572p4648615.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
> and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Alameda, CA, USA




More information about the R-help mailing list