add_rows {carpenter} | R Documentation |
Add rows to the table with summary statistics.
Description
Add rows to the table with summary statistics.
Usage
add_rows(data, row_vars, stat, digits = 1)
Arguments
data |
Output from the |
row_vars |
The variables that you want added to the table. Must be from
|
stat |
The summary statistic or any other function. A list of
built functions can be found in |
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.
[Package carpenter version 0.2.2 Index]