[R] Drop in a Loop

Will Hopper
Tue, 15 Sep 2015 18:30:27 -0000

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 something you're interested in.

- Will

On Tue, Sep 15, 2015 at 1:34 PM, Olu Ola via R-help <r-help at
r-project.org>
wrote:

> 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
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
>

	[[alternative HTML version deleted]]