Or more generally, how do you box sequential items that are identical? |4|5 5|3 3 3|6|8|6 6|9|2 2 2|
Skip Cave Cave Consulting LLC On Thu, Oct 21, 2021 at 12:01 PM Raoul Schorer <[email protected]> wrote: > Hi, > > Really trivial question I am stuck on: > > given a bit vector > 0 1 0 1 1 1 0 0 > > how to easily sequentially box 1s & 0s? Such as: > |0|1|0|1 1 1|0 0| > > Thanks! > Raoul > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
