Learn R Programming

gtsummary (version 0.1.0)

fmt_table1_header: This function creates header rows for fmt_table1 objects

Description

This function creates header rows for fmt_table1 objects

Usage

fmt_table1_header(data, by, pvalue)

Arguments

data

Data frame

by

Character variable name in data that Summary statistics for variable are stratified

pvalue

logical indicator whether p-values will be reported.