Expand grid
Expand grid of data frames
expand.grid.df(..., unique=TRUE)
... |
list of data frames (first varies fastest) |
unique |
only use unique rows? |
Creates new data frame containing all combination of rows from
data.frames in ...
Hadley Wickham <h.wickham@gmail.com>
expand.grid.df(data.frame(a=1,b=1:2)) expand.grid.df(data.frame(a=1,b=1:2), data.frame()) expand.grid.df(data.frame(a=1,b=1:2), data.frame(c=1:2, d=1:2)) expand.grid.df(data.frame(a=1,b=1:2), data.frame(c=1:2, d=1:2), data.frame(e=c("a","b")))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.