Alternative version of expand.grid
expand.grid.alt(seq1, seq2)
seq1
Vector, numeric or character
seq2
Matrix ob combinations of elemens of seq1 and seq2