I have a simple question. I have a vector that has only 0/1 values. I want to count the number of sequences that are larger than some number. For example, find out how many times I have a run of three ones (1,1,1) or more.
Any smart idea how to do that?
Thank you, Nitzan.