Skip to contents

Create unique combinations of vectors

Usage

cross_vectors(..., sep = "_")

Arguments

...

vectors

sep

Separate character

Value

A character vector

Examples

cross_vectors(c("a", "b"), c(1,2))
#> [1] "a_1" "a_2" "b_1" "b_2"