demogRTF_table: create demographics RTF table

View source: R/mod_demogRTF.R

demogRTF_tableR Documentation

create demographics RTF table

Description

create demographics RTF table

Usage

demogRTF_table(data, settings)

Arguments

data

demographics data frame with columns specified in settings object

settings

list with parameters specifying the column names for:

  • sex (settings$sex_col),

  • race (settings$race_col)

  • age (settings$age_Col)

Value

rtf doc object

Examples

settings <- list(treatment_col = "ARM", sex_col = "SEX", race_col = "RACE", age_col = "AGE")
demogRTF_table(safetyData::sdtm_dm, settings)


safetyCharts documentation built on March 23, 2022, 1:05 a.m.