Kafi, I'm not sure why you contacted me directly so I have also forwarded this to the r-help list. I am unsure as to what your problem is. At first glance, I noticed you are missing a parentheses in the WL3 line near the end but that is just after a quick scan of your code. Please be more specific in what your problem actually is. 'Bad result' is very vague and isn't conducive to being helped in any form.
Regards, Charles On Tue, Apr 15, 2014 at 3:18 AM, kafi dano <kafi_d...@yahoo.com> wrote: > Dear Sir. > I need your to help me to correct the attached R-code. > when I apply this code give me the bad result > > Attached the program by using R > Thank you > > Kafi Dano Pati > Ph.D candidate ( mathematics/statistics) > Department of mathematical Science/ faculty of Science > University Technology Malaysia > 81310 UTM, Johor Bahru, Johor, Malaysia > IC. NO. 201202F10234 > Matric No. PS113113 > HP. No. 00601117517559 > E-mail: kafi_d...@yahoo.com > supervisor- Assoc. Prof. Robiah Binti Adnan > > -- Charles Determan Integrated Biosciences PhD Candidate University of Minnesota [[alternative HTML version deleted]] ______________________________________________ R-help@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.