Why do you need to do it with nested for loops? It is of course possible - and I hinted how to do it in my first email - but there's no reason as far as I can see to do so, particularly as a means of MLE. Sounds suspiciously like homework...
Michael On Nov 4, 2011, at 10:14 PM, nick_pan <nick_pa...@yahoo.gr> wrote: > Thank you , this works but I have to do it with nested for loops... > > Could you suggest me a way ? > > > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/nested-for-loops-tp3992089p3992324.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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. ______________________________________________ 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.