Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


dplyr (version 1.0.10)

combine: Combine vectors

Description

[Deprecated]

combine() is deprecated in favour of vctrs::vec_c(). combine() attempted to automatically guess whether you wanted c() or unlist(), but could fail in surprising ways. We now believe it's better to be explicit.

Usage

combine(...)

Arguments

...

Vectors to combine.

Examples

Run this code
f1 <- factor("a")
f2 <- factor("b")

combine(f1, f2)
# ->
vctrs::vec_c(f1, f1)

combine(list(f1, f2))
# ->
vctrs::vec_c(!!!list(f1, f2))

Run the code above in your browser using DataLab