Expand.grid which takes in data.frames as well
expand.grid2.Rd
Expands the respective rows and merges data.frames respectively
expand.grid2(..., FLAGremoveAuxCols = TRUE)
Arguments
Value
expand.gridded data.frame
See also
Other Other functions:
verifyArg()
Examples
if (FALSE) { # \dontrun{
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)
} # }