[R] How to plot a normal distribution curve and a shaded tail with alpha?

Greg Snow Greg.Snow at imail.org
Mon Nov 8 19:53:54 CET 2010


Look at power.examp in the TeachingDemos package.  If that plot is not good enough, you can steal the code and modify to your specifications.

-- 
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 Wu Gong
> Sent: Monday, November 08, 2010 9:18 AM
> To: r-help at r-project.org
> Subject: [R] How to plot a normal distribution curve and a shaded tail
> with alpha?
> 
> 
> I want to create a graph to express the idea of the area under a pdf
> curve,
> like
> 
> http://r.789695.n4.nabble.com/file/n3032194/w7295e04.jpg
> 
> Thank you for any help.
> 
> -----
> A R learner.
> --
> View this message in context: http://r.789695.n4.nabble.com/How-to-
> plot-a-normal-distribution-curve-and-a-shaded-tail-with-alpha-
> tp3032194p3032194.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.



More information about the R-help mailing list