Swap values of two columns based on a condition
Arguments
- x
a tibble
- condition
an expression to be evaluated in data context returning a
TRUE/FALSE vector
- ...
the two columns bewteen which values are to be swapped in
dplyr::select-like syntax
Value
a tibble with conditionally swapped start and end