Description Usage Arguments Details Value Author(s) Examples
View source: R/pipeline-helpers.R
Repeat a data frame for each entry in a second, binding the columns together.
1 | repeat_add_columns(x, y)
|
x |
Data frame (tibble) to repeat |
y |
A copy of |
This corresponds to repeat_and_add_vector
in the old data system.
A repeated x
with columns from y
added.
BBL
1 2 3 | x <- tibble::tibble(x = 1:3)
y <- tibble::tibble(y = c(4, 5), z = c(6, 7))
repeat_add_columns(x, y)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.