powered by
Create a data.table from all combinations of inputs
expand_grid.(..., .name_repair = "check_unique")
Variables to get combinations of
Treatment of problematic names. See ?vctrs::vec_as_names for options/details
?vctrs::vec_as_names
x <- 1:2 y <- 1:2 expand_grid.(x, y) expand_grid.(stuff = x, y)
Run the code above in your browser using DataLab