Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

expand_grid..html

Create a data.table from all combinations of inputs


Description

Create a data.table from all combinations of inputs

Usage

expand_grid.(..., .name_repair = "check_unique")

Arguments

...

Variables to get combinations of

.name_repair

Treatment of problematic names. See ?vctrs::vec_as_names for options/details

Examples

x <- 1:2
y <- 1:2

expand_grid.(x, y)

expand_grid.(stuff = x, y)

tidytable

Tidy Interface to 'data.table'

v0.6.1
MIT + file LICENSE
Authors
Mark Fairbanks [aut, cre], Abdessabour Moutik [ctb], Matt Carlson [ctb], Ivan Leung [ctb], Ross Kennedy [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.