expand.grid2 | R Documentation |
expands the respective rows and merges data.frames respectively
expand.grid2(..., FLAGremoveAuxCols = TRUE)
... |
same as expand.grid, but data.frames or data.tables are allowed |
FLAGremoveAuxCols |
remove or keep auxiliary columns used for merging? |
expand.gridded data.frame
Daniel Lill (daniel.lill@intiquan.com)
expand.grid2(vec1 = 1:2, df1 = data.frame(a = letters[2:3], b = 3:4), df2 = data.table(d = 1:2, e = 4:5), FLAGremoveAuxCols = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.