[R] Simple qqplot question

Greg Snow Greg.Snow at imail.org
Thu Jun 24 23:59:28 CEST 2010


The line for the perfect match would be abline(0,1) if you want to allow affine transformations, then it gets a bit harder.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of Ralf B
> Sent: Thursday, June 24, 2010 3:45 PM
> To: r-help at r-project.org
> Subject: [R] Simple qqplot question
> 
> I am a beginner in R, so please don't step on me if this is too
> simple. I have two data sets datax and datay for which I created a
> qqplot
> 
> qqplot(datax,datay)
> 
> but now I want a line that indicates the perfect match so that I can
> see how much the plot diverts from the ideal. This ideal however is
> not normal, so I think qqnorm and qqline cannot be applied.
> 
> Perhaps you can help?
> 
> Ralf
> 
> ______________________________________________
> 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.



More information about the R-help mailing list