nest_duplicated: Nest duplicated columns

Description Usage Arguments Value

Description

After multiple data frames are joined, there can often a single variable that is replicated and suffixed with .x, .y, .x.x, and so on. This function converts any such variables into a single variable with all original values combined into a list.

Usage

1
nest_duplicated(df, suffixes = "\\.[xy]")

Arguments

df

Data frame

suffixes

Character string to match suffixes. E.g., the default "\.[xy]" finds any columns ending with .x or .y

Value

tibble


drsimonj/adapter documentation built on May 15, 2019, 2:51 p.m.