Skip to contents

The parameters of a registered template, to start a template of one's own from (a company's demog with its own default cells).

Usage

tfl_template_params(name)

Arguments

name

The template's name.

Value

A named list of tfl_param(); change one's default and pass them to tfl_template().

Examples

p <- tfl_template_params("demog")
names(p)
#> [1] "population"  "data"        "by"          "continuous"  "categorical"
#> [6] "labels"      "cells"       "stack"      
p$cells$default
#> $n
#> [1] "{N:.0f}"
#> 
#> $`Mean (SD)`
#> [1] "{mean:.1f} ({sd:.2f})"
#> 
#> $Median
#> [1] "{median:.1f}"
#> 
#> $`Min, Max`
#> [1] "{min:.0f}, {max:.0f}"
#>