add_rows: Add rows to the table with summary statistics.

Description Usage Arguments Value See Also

Description

Add rows to the table with summary statistics.

Usage

1
add_rows(data, row_vars, stat, digits = 1)

Arguments

data

Output from the outline_table object.

row_vars

The variables that you want added to the table. Must be from outline_table.

stat

The summary statistic or any other function. A list of built functions can be found in table_stats().

digits

What to round the value to.

Value

Adds a row with summary statistics for a variable. Is a tibble.

See Also

carpenter() for a list of all functions, examples, and accessing the introduction tutorial vignette. See table_stats() for a list of carpenter builtin statistics.


carpenter documentation built on May 2, 2019, 5:15 a.m.