Randomly shuffle runs of 0s & 1s in a vector but maintain their alternating order, i.e. there'll never be joint runs of 0s or 1s from the original sequence. We assume that the vector consists of 0s & 1s.
shuffBlockVecAlt(x)
a numeric vector
a numeric vector