Re: [R] warning inside loop

2010-01-12 Thread Rense
-Original Message- >> From: r-help-boun...@r-project.org >> [mailto:r-help-boun...@r-project.org] On Behalf Of Rense >> Sent: Monday, January 11, 2010 3:07 PM >> To: r-help@r-project.org >> Subject: [R] warning inside loop >> >> >> Hi, >

Re: [R] warning inside loop

2010-01-11 Thread jim holtman
What type of error do you get if it has a false converge? Does it raise an error (if so, ?try). Is there some value you can test for? You need to provide more details as to what happens. On Mon, Jan 11, 2010 at 6:06 PM, Rense wrote: > > Hi, > > I'm running some data simulations using (mixed e

Re: [R] warning inside loop

2010-01-11 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Rense > Sent: Monday, January 11, 2010 3:07 PM > To: r-help@r-project.org > Subject: [R] warning inside loop > > > Hi, > > I'm runn

[R] warning inside loop

2010-01-11 Thread Rense
Hi, I'm running some data simulations using (mixed effects)* regression models that show difficulty to converge. Therefore, I seek a way of capturing warnings (of false convergence) inside a loop. Inside that loop, I modify data and estimate a model. I do so many times with slightly different mo