Description Usage Arguments Value Examples
Given two vectors will find all unique pairs.
1 | expand_grid_unique(x, y, include.equals = FALSE)
|
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 | x <- c('one', 'two', 'three')
y <- c('a', 'b', 'c')
expand_grid_unique(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.