I have vector of numbers
n_vector = c(0,1)
and I have k number. I need to make dataframe of all combinations of permutations.For k=3 it should be