Ali,

I'm not completely sure of your purpose but I have my students use plot.htest() 
in my NCStats package (available at rforge.net/NCStats) to plot the p-value 
following the results of z.test() (from TeachingDemos package), t.test(), or 
chisq.test().  You might also consider distrib() in NCStats (it is more general 
and is simply a wrapper to pnorm(), qnorm(), etc. and won't, for example, show 
a two-tailed alternative).  Examples of both are in the help pages -- 
?plot.htest or ?distrib.



> -----Original Message-----
> From: [email protected] [mailto:r-sig-teaching-
> [email protected]] On Behalf Of Ali Zanaty
> Sent: Saturday, April 02, 2011 4: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

Reply via email to