Re: [R] Help with iteration using while loop

2010-06-04 Thread Subodh Acharya
Hi Steve, Actually I figured that out after I emailed you but I forgot to email you before I left office. Anyway thanks a lot.And thanks for the note. I'll do that from now on. Subodh On Fri, Jun 4, 2010 at 4:54 PM, Steve Lianoglou < mailinglist.honey...@gmail.com> wrote: > Hi Subodh, > > Mi

Re: [R] Help with iteration using while loop

2010-06-04 Thread Steve Lianoglou
Hi Subodh, Minor note: please keep replies on list so everyone benefits from answers/questions. Now: On Fri, Jun 4, 2010 at 2:49 PM, Subodh Acharya wrote: > Thanks a lot Steve, > It worked. I appreciate. But I have another question, may be thats trivial. > Say, it doesn't converge at itermax.

Re: [R] Help with iteration using while loop

2010-06-04 Thread Steve Lianoglou
Code inline: On Fri, Jun 4, 2010 at 1:30 PM, Subodh Acharya wrote: > Hello everyone, > > I am trying to use while loop to iterate a function until convergence. But I > am having problem when I try to use a fixed number of iterations. > Say I want to use maximum iteration of 150. If the value don'

[R] Help with iteration using while loop

2010-06-04 Thread Subodh Acharya
Hello everyone, I am trying to use while loop to iterate a function until convergence. But I am having problem when I try to use a fixed number of iterations. Say I want to use maximum iteration of 150. If the value don't converge within maximum iteration, show warning of no convergence. Currentl