Unites targeted table columns into a pair of name-level columns.
uniteNameLevel(
x,
cols = character(0),
name = "group_name",
level = "group_level",
keep = FALSE,
ignore = c(NA, "overall")
)
A tibble with the new columns.
A dataframe.
Columns to aggregate.
Column name of the name
column.
Column name of the level
column.
Whether to keep the original columns.
Level values to ignore.