powered by
Similar to expand.grid function, this function creates all combinations of the input arguments but returns the result as a list.
expand.grid
expand.list(...)
list
input variables
Klaus Kähler Holst
expand.list(x=2:4, z=c("a","b"))
Run the code above in your browser using DataLab