Re: [R] Drop in a Loop

2015-09-16 Thread Will Hopper
a > particular iteration is Not zero, then it should not be stored in store[j,]. > > Any help will be appreciated > > Thank you > > > > > > > ---- > On Tue, 9/15/15, Will Hopper wrote: > > Subject: Re: [R] Drop

Re: [R] Drop in a Loop

2015-09-15 Thread Olu Ola via R-help
p will be appreciated Thank you On Tue, 9/15/15, Will Hopper wrote: Subject: Re: [R] Drop in a Loop Cc: r-help@r-project.org Date: Tuesday, September 15, 2015, 2:30 PM I think you ought to show a small example of how the code you're using.

Re: [R] Drop in a Loop

2015-09-15 Thread Will Hopper
I think you ought to show a small example of how the code you're using. Are you saving results at every iteration? In a list, data frame, etc? People likely need that to help answer your question. Also probably have a look the control list argument and the save.failures option, that might be some

[R] Drop in a Loop

2015-09-15 Thread Olu Ola via R-help
Hello, I am doing some estimation using optimx and after each round of estimation, I store the coefficient. However, I need to drop the set of coefficients for which the convergence code in optimx is GREATER than Zero. How do I go about this? A way forward will be highly appreciated. Thank you