expand.grid.df {reshape} | R Documentation |
expand grid of data frames
expand.grid.df(df1, df2, unique=TRUE)
df1 |
data frame 1 (varies fastest) |
df2 |
data frame 2 |
unique |
Creates new data frame containing all combination of rows from df1 and df2.
Hadley Wickham <h.wickham@gmail.com>