Discussion:
[R] Flipping axes of qqnorm
Chris_d
2009-04-26 23:37:41 UTC
Permalink
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
--
View this message in context: http://www.nabble.com/Flipping-axes-of-qqnorm-tp23248007p23248007.html
Sent from the R help mailing list archive at Nabble.com.
Sundar Dorai-Raj
2009-04-27 02:26:19 UTC
Permalink
Try (re)reading ?qqnorm. Use datax = TRUE.

--sundar
Post by Chris_d
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
--
View this message in context: http://www.nabble.com/Flipping-axes-of-qqnorm-tp23248007p23248007.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 http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Charles Annis, P.E.
2009-04-27 02:39:13 UTC
Permalink
?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
--
View this message in context:
http://www.nabble.com/Flipping-axes-of-qqnorm-tp23248007p23248007.html
Sent from the R help mailing list archive at Nabble.com.
Bill.Venables
2009-04-27 03:08:21 UTC
Permalink
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
--
View this message in context: http://www.nabble.com/Flipping-axes-of-qqnorm-tp23248007p23248007.html
Sent from the R help mailing list archive at Nabble.com.
Loading...