cross_join

0th

Percentile

Cross-Join for data.table

A safe version of data.table::CJ() in case a column is called sorted or unique.

Usage
cross_join(dots, sorted = TRUE, unique = FALSE)
Arguments
dots

(named list()) Vectors to cross-join.

sorted

(logical(1)) See data.table::CJ().

unique

(logical(1)) See data.table::CJ().

Value

data.table().

Aliases
  • cross_join
Examples
# NOT RUN {
cross_join(dots = list(sorted = 1:3, b = letters[1:2]))
# }
Documentation reproduced from package mlr3misc, version 0.1.0, License: LGPL-3

Community examples

Looks like there are no examples yet.