
Last chance! 50% off unlimited learning
Sale ends in
takes the cartesian product of two data.frames
cartesianExpand(x, y)
a data.frame
a data.frame
a data.frame
# NOT RUN {
x = data.frame("a" = 1:5, "b" = 6:10)
y = data.frame("z" = letters[1:5], "y" = letters[6:10])
cartesianExpand(x, y)
# }
Run the code above in your browser using DataLab