cross_join: Cross join two tables together, including all combinations of...

Description Usage Arguments Examples

View source: R/cross-join.R

Description

Locally, this is equivalent to tidyr::crossing.

Usage

1
cross_join(x, y, ...)

Arguments

x, y

tbls to join

...

additional arguments to be passed on to dplyr::full_join() or tidyr::crossing()

Examples

1
2
3
d1 <- dplyr::tibble(x = 1:3)
d2 <- dplyr::tibble(y = 1:2)
cross_join(d1, d2)

datacamp/tidymetrics documentation built on March 21, 2021, 3:28 a.m.