make_table1: Make "Table 1" to Summarize Variables in Data Frame

Description Usage Arguments Value Examples

Description

Make "Table 1" to Summarize Variables in Data Frame

Usage

1
make_table1(varlist, dt, digits = 2, verbose = FALSE)

Arguments

varlist

Data frame containing 2 columns. Column 1 is the names of the variables. Column 2 is a name to be used as the variable name (typically longer than the variable name).

dt

Data table with variables of interest in it.

digits

Number of digits for continuous variables

verbose

Boolean When TRUE display debug information

Value

Returns Table 1 as a data.table

Examples

1
## Not run: # nothing here yet

outcomesinsights/jigsaw_r documentation built on May 24, 2019, 5:54 p.m.