Description Usage Arguments Details Value Examples
This helps creates demographics or summary table for a dataset, 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.
1 2 3 4 5 6 7 | table_1(.data, key, .vars = vars(everything()), ...)
table_1_dispatcher(.data, var, name, key)
table_1_summarise(.data, var, name, key)
table_1_summarize(.data, var, name, key)
|
.data |
a dataset |
key |
the comparison variable, such as case/control. |
.vars |
a lazy list of variables to include in the description. |
... |
passed on to other methods. |
var |
Variable identifier, used to dispatch |
name |
name of the variable |
table_1_summarise
and table_1_dispatcher
dispatch on the data type of the
variable identified by var
in .data
The result is a table which includes:
A 'Variable' column, can be renamed with the var.name
argument
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.