[R] Overlaying graphs

Paul Meagher paul at datavore.com
Thu Sep 4 16:04:56 CEST 2003


----- Original Message ----- 
From: "Richard A. O'Keefe" <ok at cs.otago.ac.nz>
To: <paul at datavore.com>
Sent: Thursday, September 04, 2003 2:56 AM
Subject: Re: [R] Overlaying graphs


> I do not know how to overlay the curve graphic on top of hist graphic.
>
> Do you know about the "add=TRUE" option for plot()?
>
> I am hoping to show visually that the normal curve overlays the obtained
> probability distribution when plotted on the same graph.  Unfortunately, I
> an not sure how to overlay them. Can anyone point me in the right
direction
> or show me the code.
>
> This is a bad way to do it anyway.  What you want is a qqnorm plot.
> See ?qqnorm.
>
>




More information about the R-help mailing list