powered by
meshgrid(x, y = x)
X
Y
outer
meshgrid(1:5)$X meshgrid(c(1, 2, 3), c(11, 12))
Run the code above in your browser using DataLab