You can draw your own axes.
Set las =1. See ?par
plot(survfit(Y~addicts$clinic), fun="cloglog", las=1)
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Sun, May 20, 2018 at 12:32 PM, Ed medicine via R-help <
r-help at r-project.org> wrote:
>
> I would like to get horizontal numbers on the both axes: X and Y.
> I got horizontal numbers only on the Y axis when adding las=2,
> How to obtain a horizontal orientation for number on scale also for the X
> axis
> (now they are vertical)? Here is my code:
> plot(survfit(Y~addicts$clinic), fun="cloglog", las=2)
>
>
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>
[[alternative HTML version deleted]]