Function for combining outputs in a list
comb(...)
...
an argument of mapply used by this function
mapply
Function mapply
#array of numbers to be separated in a list a<-1:4 #running the function comb(a)