View source: R/expand_grid_unique.R
expand_grid_unique | R Documentation |
Expand grid unique
expand_grid_unique(x, y, equals = FALSE)
x |
vector x. |
y |
vector y |
equals |
If TRUE also same combinations are included |
The function returns all possible combinations of two vectors.
vector
x <- 1:5
y <- 1:5
expand_grid_unique(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.