common_rownames: Identify Names of Columns

common_rownamesR Documentation

Identify Names of Columns

Description

A function to transform the gt row names from generics to the column name and the total N of each column

Usage

common_rownames(data, group)

Arguments

data

the data to create columns with

group

whether to group the data to calculate Ns

Value

A character vector

Examples

data(adsl, package = "tidyCDISC")

# Values of TRT01P
unique(adsl$TRT01P)

# Common row names based on TRT01P
common_rownames(adsl, "TRT01P")

Biogen-Inc/tidyCDISC documentation built on April 22, 2023, 2:12 p.m.