View source: R/coalesce_many.R
coalesce_many_helper | R Documentation |
This function is intended to be mapped over a sequence i
inside the
function coalesce_many
coalesce_many_helper(df, new_split_names, i)
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 |
returns a data frame with one set of paired columns combined into a
single column and named based on new_split_names
coalesce_many_helper
runs inside
coalesce_many
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.