x didn't make it through the cut-and-paste, it should be:

x <- seq(0, 10, 0.1)

also zUp has a typo, it should be:

zUp <- m2 + z2

That should work now.


On 1/15/2012 2:41 PM, AbouEl-Makarim Aboueissa wrote:
Dear R users:

I am currently teaching a course in Statistics. Can someone give an R code(s) 
to create a biomodal curve(s) with shaded area of 90% and with 5% in each tail

With many thanks
abou



==========================
AbouEl-Makarim Aboueissa, Ph.D.
Associate Professor of Statistics
Graduate Program Coordinator
Department of Mathematics&  Statistics
University of Southern Maine
96 Falmouth Street
P.O. Box 9300
Portland, ME 04104-9300
USA


Tel: (207) 228-8389
Fax: (207) 780-5607
Email: aabouei...@usm.maine.edu
           aboue...@yahoo.com

Office: 301C Payson Smith


        [[alternative HTML version deleted]]

_______________________________________________
R-sig-teaching@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching

-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1901 / Virus Database: 2109/4744 - Release Date: 01/15/12



_______________________________________________
R-sig-teaching@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-teaching

Reply via email to