Set the default summary statistic
Usage
set_summary(spec, stat = c("auto", "median", "mean"), .by_var = NULL)Examples
set_summary(describe(simtab(epitabl), age), "median")
#> <simtab_spec>
#> not yet computed
#> data: 1500 rows x 22 columns; hash c0787c425db7
#> describe: age
#> stratify/by: <unset>
#> adjust: <unset>
#> summary: median
#> measure: <unset> (ref: <unset>, conf.level: 0.95)
#> test: <unset>
#> design: <unset>
#> style: default