[R] probability scale at y axis

Liaw, Andy andy_liaw at merck.com
Wed Oct 20 20:31:27 CEST 2004


Do you mean something like:

y <- sort(rnorm(100))
plot(y, yaxt="n")
p <- c(0.01, 0.05, 0.5, 0.95, 0.99)
axis(2, at=qnorm(p), label=p, las=1)

??

Andy

> From: Antonio Olinto
> 
> Hi,
> 
> I'd like to make a plot with a probability scale at y axis, 
> just like in the old
> probability paper.
> 
> I couldn't find how make it in R. Thanks for any hint.
> 
> Best regards,
> 
> Antonio Olinto
> 
> 
> 
> -------------------------------------------------
> WebMail Bignet - O seu provedor do litoral
> www.bignet.com.br
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list