[R] percentile labels in qqnorm

RLS rls at pincock.com
Fri Aug 9 19:10:03 CEST 2002


Hi-

I wanted percentage labels on a qqnorm x axis. I used the following:

#make up some data

jt<-rnorm(100)

#qqnorm with percentile x labels

qqnorm(jt,axes=F,xlab="Percentiles")
box()
l<-c(1,5,10,30,50,70,90,95,99)
axis(1,at=qnorm(l/100),label=l)

which was ok for this data set.

Does anyone have  a more general solution which would allow one to
specify the number of x labels and then "pretty" choose the label values
and plot them?

Robert (Bob) Sandefur
Geostatistical Associate
Pincock Allen & Holt
274 Union Suite 200
Lakewood, CO 80228
303 914 4467

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list