table_1: Create a Table 1

Description Usage Arguments Details

View source: R/table_1.R

Description

This helps creates the demographics table, the eponymous "table 1". Given a data set a key for columns, describe the differences across the provided factor variables between the levels of key.

Usage

1
2
3
4
5
6
7
table_1(.data, key, ...)

table_1_dispatcher(.data, var, name, key)

table_1_summarise(.data, var, name, key)

table_1_summarize(.data, var, name, key)

Arguments

.data

a dataset

key

the comparison variable, such as case/control.

...

a lazy list of variables to include in the description.

var

Variable identifier, used to dispatch

name

name of the variable

Details

table_1_summarise and table_1_dispatcher dispatch on the data type of the variable identified by var in .data


halpo/short documentation built on July 18, 2019, 12:06 a.m.