I'm not sure. I'm still looking into it. Its pretty involved, so I asked
the simplest answer first (the merge question).

I'll reply back with a mock-up/sample that is testable under a more
appropriate subject line. Probably this weekend.

Regards,

Ben


On Fri, Mar 2, 2012 at 4:37 AM, Hans Ekbrand <hans@sociologi.cjb.net> wrote:

> On Fri, Mar 02, 2012 at 03:24:20AM -0700, Ben quant wrote:
> > Hello,
> >
> > I have a nasty loop that I have to do 11877 times.
>
> Are you completely sure about that? I often find my self avoiding
> loops-by-row by constructing vectors of which rows that fullfil a
> condition, and then creating new vectors out of that vector. If you
> elaborate on the problem, perhaps we could find a way to avoid the
> loops altogether?
>
> Mostly as a note to self, I wrote
> http://code.cjb.net/vectors-instead-of-loop.html, it might be
> understood by others too, but I'm not sure.
>
> --
> Hans Ekbrand (http://sociologi.cjb.net) <hans@sociologi.cjb.net>
>
> ______________________________________________
> 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.
>

	[[alternative HTML version deleted]]

