Skip to content

Flipping axes of qqnorm

4 messages · Chris_d, Sundar Dorai-Raj, Charles Annis, P.E. +1 more

#
Hi all,
       I have just started using R to produce qqnorm plots. I am trying to
switch the x and y axes so that the theoretical values are plotted on the y
axis and my data on the x axis. Can anyone help me with this?

Thanks
#
Try (re)reading ?qqnorm. Use datax = TRUE.

--sundar
On Sun, Apr 26, 2009 at 4:37 PM, Chris_d <dewhurstchris at gmail.com> wrote:
#
?qqnorm

qqnorm(y, ylim, main = "Normal Q-Q Plot",
       xlab = "Theoretical Quantiles", ylab = "Sample Quantiles",
       plot.it = TRUE, datax = TRUE, ...)




Charles Annis, P.E.

Charles.Annis at StatisticalEngineering.com
phone: 561-352-9699
eFax:  614-455-3265
http://www.StatisticalEngineering.com
 

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Chris_d
Sent: Sunday, April 26, 2009 7:38 PM
To: r-help at r-project.org
Subject: [R] Flipping axes of qqnorm


Hi all,
       I have just started using R to produce qqnorm plots. I am trying to
switch the x and y axes so that the theoretical values are plotted on the y
axis and my data on the x axis. Can anyone help me with this?

Thanks
#
This is easy...

qqnorm(res, datax = TRUE)

... unfortunately.


Bill Venables
http://www.cmis.csiro.au/bill.venables/ 


-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Chris_d
Sent: Monday, 27 April 2009 9:38 AM
To: r-help at r-project.org
Subject: [R] Flipping axes of qqnorm


Hi all,
       I have just started using R to produce qqnorm plots. I am trying to
switch the x and y axes so that the theoretical values are plotted on the y
axis and my data on the x axis. Can anyone help me with this?

Thanks