get_by_info: Simple utility function to get extract and calculate...

Description Usage Arguments

Description

Given a dataset and the name of the 'by' variable, this function returns a data frame with unique levels of the by variable, the by variable ID, a character version of the levels, and the column name for each level in the fmt_table1 output data frame.

Usage

1

Arguments

data

data frame

by

character name of the by variable found in data


ddsjoberg/gtsummary-v0.1 documentation built on June 4, 2019, 7:48 a.m.