Unique string combinations of consecutive integers
Advertisements I have a vector of integers from 0-9 and need all unique possible combinations of these consecutive vector elements, including the original elements. > vec <- 0:9 > vec [1] 0 1 2 3 4 5 6 7 8 9 The task is similar to this question. The major (and tricky) difference is that… Read More Unique string combinations of consecutive integers