Description Usage Arguments Value Examples
View source: R/expand_grid_unique.R
Given two vectors will find all unique pairs.
1 | expand_grid_unique(x, y, include.equals = FALSE, as.data.table = TRUE)
|
x |
Vector |
y |
Vector |
include.equals |
if FALSE will not return a pair that is the same element paired against itself |
dataframe
1 2 3 4 5 6 7 | ## Not run:
x <- c('one', 'two', 'three')
y <- c('a', 'b', 'c')
function(arg1)
expand_grid_unique(x, y)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.