assign_summary_type {gtsummary} | R Documentation |
Assign Default Summary Type
Description
Function inspects data and assigns a summary type when not specified
in the type
argument.
Usage
assign_summary_type(data, variables, value, type = NULL, cat_threshold = 10L)
Arguments
data |
( |
variables |
( |
value |
( |
type |
( |
cat_threshold |
( |
Value
named list
Examples
assign_summary_type(
data = trial,
variables = c("age", "grade", "response"),
value = NULL
)
[Package gtsummary version 2.0.0 Index]