Wrapper around expand.grid
that returns a tbl_df instead of a
data.frame, that allows grouping by all columns as an option, and that
treats stringsAsFactors as FALSE by default.
1 | expand_grid(..., stringsAsFactors = FALSE, group_by_all = FALSE)
|
... |
Options passed on to |
stringsAsFactors |
Whether to treat strings as factors, by default off (thankfully) |
group_by_all |
whether to group |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.