Re: [R] Simple qqplot question

From: Greg Snow <Greg.Snow_at_imail.org>
Date: Thu, 24 Jun 2010 15:59:28 -0600

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.
______________________________________________ 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.
Received on Thu 24 Jun 2010 - 22:01:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 24 Jun 2010 - 22:10:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive