Description Usage Arguments Details Author(s) Examples
Expand grid of data frames
| 1 | 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 ...
This is an exact copy of the expand.grid.df function in the reshape
package.  I chose to include it as a function within this package to avoid using
a dependency to a package that is no longer maintained.
Hadley Wickham
| 1 2 3 4 5 6 7 | ## Not run: 
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")))
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.