I have a logical vector:
FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE FALSE
I want to split this vector into three groups: the first one (3 first FALSE) the second one (2 TRUE) and the last one (two last FALSE).
How can I do the loop to split the vector?
 
    