Skip to contents

[Deprecated] Unites targeted table columns into a pair of name-level columns.

Usage

uniteNameLevel(
  x,
  cols = character(0),
  name = "group_name",
  level = "group_level",
  keep = FALSE,
  ignore = c(NA, "overall")
)

Arguments

x

A dataframe.

cols

Columns to aggregate.

name

Column name of the name column.

level

Column name of the level column.

keep

Whether to keep the original columns.

ignore

Level values to ignore.

Value

A tibble with the new columns.