table_bind_group: Combine groups by column

View source: R/junyuan_li.R

table_bind_groupR Documentation

Combine groups by column

Description

Combine groups by column

Usage

table_bind_group(
  object,
  id,
  col,
  label = "groups",
  sep = ";",
  keep = FALSE,
  unique = TRUE,
  count = FALSE,
  label_count = "count"
)

Arguments

object

a data frame with two or more columns

id

the column for group

col

the coloumn for combinning

label

the new column name

sep

the separator between combined group

keep

keep other columns

unique

unique while combinning

count

count groups

label_count

the new count column name


TongZhou2017/ttfriends documentation built on June 10, 2025, 5:36 p.m.