- x, object
An object returned by model_parameters()
.
- pretty_names
Can be TRUE
, which will return "pretty" (i.e. more human
readable) parameter names. Or "labels"
, in which case value and variable
labels will be used as parameters names. The latter only works for "labelled"
data, i.e. if the data used to fit the model had "label"
and "labels"
attributes. See also section Global Options to Customize Messages when Printing.
- split_components
Logical, if TRUE
(default), For models with
multiple components (zero-inflation, smooth terms, ...), each component is
printed in a separate table. If FALSE
, model parameters are printed
in a single table and a Component
column is added to the output.
- select
Determines which columns and and which layout columns are
printed. There are three options for this argument:
Selecting columns by name or index
select
can be a character vector (or numeric index) of column names that
should be printed. There are two pre-defined options for selecting columns:
select = "minimal"
prints coefficients, confidence intervals and p-values,
while select = "short"
prints coefficients, standard errors and p-values.
A string expression with layout pattern
select
is a string with "tokens" enclosed in braces. These tokens will
be replaced by their associated columns, where the selected columns will
be collapsed into one column. However, it is possible to create multiple
columns as well. Following tokens are replaced by the related coefficients
or statistics: {estimate}
, {se}
, {ci}
(or {ci_low}
and {ci_high}
),
{p}
and {stars}
. The token {ci}
will be replaced by {ci_low}, {ci_high}
.
Furthermore, a |
separates values into new cells/columns. If
format = "html"
, a <br>
inserts a line break inside a cell. See
'Examples'.
A string indicating a pre-defined layout
select
can be one of the following string values, to create one of the
following pre-defined column layouts:
"ci"
: Estimates and confidence intervals, no asterisks for p-values.
This is equivalent to select = "{estimate} ({ci})"
.
"se"
: Estimates and standard errors, no asterisks for p-values. This is
equivalent to select = "{estimate} ({se})"
.
"ci_p"
: Estimates, confidence intervals and asterisks for p-values. This
is equivalent to select = "{estimate}{stars} ({ci})"
.
"se_p"
: Estimates, standard errors and asterisks for p-values. This is
equivalent to select = "{estimate}{stars} ({se})"
..
"ci_p2"
: Estimates, confidence intervals and numeric p-values, in two
columns. This is equivalent to select = "{estimate} ({ci})|{p}"
.
"se_p2"
: Estimate, standard errors and numeric p-values, in two columns.
This is equivalent to select = "{estimate} ({se})|{p}"
.
For model_parameters()
, glue-like syntax is still experimental in the
case of more complex models (like mixed models) and may not return expected
results.
- caption
Table caption as string. If NULL
, depending on the model,
either a default caption or no table caption is printed. Use caption = ""
to suppress the table caption.
- footer
Can either be FALSE
or an empty string (i.e. ""
) to
suppress the footer, NULL
to print the default footer, or a string. The
latter will combine the string value with the default footer.
- digits, ci_digits, p_digits
Number of digits for rounding or
significant figures. May also be "signif"
to return significant
figures or "scientific"
to return scientific notation. Control the
number of digits by adding the value as suffix, e.g. digits = "scientific4"
to have scientific notation with 4 decimal places, or digits = "signif5"
for 5 significant figures (see also signif()
).
- footer_digits
Number of decimal places for values in the footer summary.
- show_sigma
Logical, if TRUE
, adds information about the residual
standard deviation.
- show_formula
Logical, if TRUE
, adds the model formula to the output.
- zap_small
Logical, if TRUE
, small values are rounded after
digits
decimal places. If FALSE
, values with more decimal
places than digits
are printed in scientific notation.
- groups
Named list, can be used to group parameters in the printed output.
List elements may either be character vectors that match the name of those
parameters that belong to one group, or list elements can be row numbers
of those parameter rows that should belong to one group. The names of the
list elements will be used as group names, which will be inserted as "header
row". A possible use case might be to emphasize focal predictors and control
variables, see 'Examples'. Parameters will be re-ordered according to the
order used in groups
, while all non-matching parameters will be added
to the end.
- column_width
Width of table columns. Can be either NULL
, a named
numeric vector, or "fixed"
. If NULL
, the width for each table column is
adjusted to the minimum required width. If a named numeric vector, value
names are matched against column names, and for each match, the specified
width is used. If "fixed"
, and table is split into multiple components,
columns across all table components are adjusted to have the same width.
- ci_brackets
Logical, if TRUE
(default), CI-values are
encompassed in square brackets (else in parentheses).
- ...
Arguments passed to or from other methods.