powered by
Simpler and faster version of expand.grid() in base package
expand(elem)
list of elements to be combined
quanteda:::expand(list(c("a", "b", "c"), c("x", "y")))
Run the code above in your browser using DataLab