Look at the power.examp function in the TeachingDemos function. It may be what you want, or you could take some of the code from it to do what you want.
The function Pvalue.norm.sim (also in TeachingDemos) may also be of interest. -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare [email protected] 801.408.8111 > -----Original Message----- > From: [email protected] [mailto:r-sig-teaching- > [email protected]] On Behalf Of Ali Zanaty > Sent: Saturday, April 02, 2011 3:12 PM > To: [email protected] > Subject: [R-sig-teaching] Plotting the P value > > DearĀ All R users: > > > > Can someone help me with the plotting the p-values under the normal > curve (say). > > > > Thank you so much. > > > > Ali > > > > > > > [[alternative HTML version deleted]] _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
