I have a result from permutation as below;
abc <- gtools::permutations(4,3,repeats.allowed = T)
I am trying to rearrange this response so