Skip to contents

Generate Detailed Descriptive Statistics with Custom P-Value Tests

Usage

summarize_descriptives_gt(data, var_list = NULL, group_var = NULL, test = NULL)

Arguments

data

A dataframe with variables to summarize.

var_list

Optional quoted variable list (e.g. care_setting).

group_var

Optional quoted grouping variable (e.g. cohort).

test

Optional named list of statistical tests (e.g. age ~ "wilcox.test").

Value

A gtsummary table object