tlf_config() bundles every organization-level convention: page geometry,
fonts, the running page header, the figure palette, treatment-variable
candidates and the figure render policy. The defaults are neutral; an
organization usually sets its own once per session (see tlf_get_config()).
Usage
tlf_config(
page = tlf_page(),
fonts = tlf_fonts(),
header_left = "",
header_right = "Page \\pagenumber of \\pagefield",
palette = tol_bright,
trt_candidates = c("TRT01A", "TRTA", "TRT01P", "TRTP", "ARM", "ACTARM"),
render = tlf_render_opts(),
text_convert = FALSE
)Arguments
- page
A
tlf_page()object.- fonts
A
tlf_fonts()object.- header_left
Text of the left cell of the running page header, for example an organization name.
""means no left cell.- header_right
Text of the right cell. r2rtf page fields
\\pagenumberand\\pagefieldare expanded.- palette
Colours used for treatment groups in figures.
- trt_candidates
Treatment/grouping variables tried, in order, when the requested treatment variable is absent from the data.
- render
A
tlf_render_opts()object.- text_convert
Let r2rtf convert LaTeX-like markup in text (for example
_to a subscript,>=to a symbol)? The defaultFALSEprints all text verbatim, so titles stay character-identical to their metadata source and program names such ast_demo.Rare not mangled.