crossing | R Documentation |
crossing()
is similar to expand_grid()
but de-duplicates and sorts its inputs.
crossing(..., .name_repair = "check_unique")
... |
Variables to get unique combinations of |
.name_repair |
Treatment of problematic names. See |
x <- 1:2
y <- 1:2
crossing(x, y)
crossing(stuff = x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.