expand.grid2()
creates a combination data frame from vectors or lists
but differs from the original expand.grid()
in that it has two options
for removing two different type of duplicates. stringsAsFactors
is
set to TRUE
.
1 | expand.grid2(..., rm.dupes = TRUE, rm.dubs = TRUE)
|
... |
Vectors to be expanded. |
rm.dupes |
Removes duplicated "rows". If |
rm.dubs |
Removes a row in which all elements are the same. If
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.