merge_col2_into_col1: Title

Description Usage Arguments Examples

View source: R/tidyversetools.R

Description

Title

Usage

1
merge_col2_into_col1(.data, col1, col2)

Arguments

.data

tibble

col1

colname, standard dplyr quotation rules apply

col2

colname, standard dplyr quotation rules apply

Examples

1
2
3
df <- data.frame(a = c(1:2, rep(NA, 2), 1:2), b = c(rep(NA,2), 3:4, 3:4))
df %>% merge_col2_into_col1(a,b)
df %>% merge_col2_into_col1(b,a)

dlill/conveniencefunctions documentation built on Aug. 11, 2018, 1:03 p.m.