On Sun, 17 Sep 2006 18:05:15 -0400, "jim holtman" <[EMAIL PROTECTED]> wrote:
> I think this should do it: [...] Thank you Jim, the idea with 'rle' is great. I missed your follow-up before mine a minute ago with another solution. I'll do some testing with both. Cheers, -- Seb ______________________________________________ R-help@stat.math.ethz.ch 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.