gt-options | R Documentation |
gt package options
gt uses the following options()
to configure behavior:
gt.locale
: A locale to yse by default in
the gt()
function.
gt.row_group.sep
: A separator between groups for the row group label. By
default this is " - "
.
gt.html_tag_check
: A logical scalar indicating whether or not to print a
warning when HTML tags are found in a table that is being rendered to LaTeX.
The default for this is TRUE
.
gt.strict_column_fmt
: A logical scalar that controls whether formatting
via the fmt_*()
functions should fail if attempting to format data that is
incompatible with the function. This is FALSE
by default.
gt.latex_packages
: A vector of LaTeX package names to use when generating
tables in the LaTeX output context. The set of packages loaded is controlled
by this default vector:
c("booktabs", "caption", "longtable", "colortbl", "array")
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.