coalesce_many_helper: Combined paired sets of columns following a join operation

View source: R/coalesce_many.R

coalesce_many_helperR Documentation

Combined paired sets of columns following a join operation

Description

This function is intended to be mapped over a sequence i inside the function coalesce_many

Usage

coalesce_many_helper(df, new_split_names, i)

Arguments

df

a data frame following a join and thereby containing paired columns of the form Col_1.x, Col_1.y

new_split_names

a list of desired column names, e.g. Col_1, Col_2

i

a number between 1 and the length of new_split_names

Value

returns a data frame with one set of paired columns combined into a single column and named based on new_split_names

See Also

coalesce_many_helper runs inside coalesce_many


gpilgrim2670/SwimmeR documentation built on March 26, 2023, 5:05 p.m.