- x
(ANY
)
object to be prepared for rendering.
- widths
(numeric
or NULL
)
Proposed widths for the columns of x
. The expected
length of this numeric vector can be retrieved with ncol(x) + 1
as the column of row names
must also be considered.
- col_gap
(numeric(1)
)
space (in characters) between columns.
- hsep
(string
)
character to repeat to create header/body separator line. If
NULL
, the object value will be used. If " "
, an empty separator will be printed. See
default_hsep()
for more information.
- indent_size
(numeric(1)
)
number of spaces to use per indent level. Defaults to 2.
- tf_wrap
(flag
)
whether the text for title, subtitles, and footnotes should be wrapped.
- max_width
(integer(1)
, string
or NULL
)
width that title and footer (including
footnotes) materials should be word-wrapped to. If NULL
, it is set to the current print width of the
session (getOption("width")
). If set to "auto"
, the width of the table (plus any table inset) is
used. Parameter is ignored if tf_wrap = FALSE
.
- fontspec
(font_spec
)
a font_spec object specifying the font information to use for
calculating string widths and heights, as returned by font_spec()
.
- ttype_ok
(logical(1)
)
should truetype (non-monospace) fonts be
allowed via fontspec
. Defaults to FALSE
. This parameter is primarily
for internal testing and generally should not be set by end users.
- round_type
("iec"
or "sas"
)
the type of rounding to perform. iec,
the default, peforms rounding compliant with IEC 60559 (see details), while
sas performs nearest-value rounding consistent with rounding within SAS.