Learn R Programming

tsissm (version 1.0.1)

as_flextable.summary.tsissm.estimate: Transform a summary object into flextable

Description

Transforms a “summary.tsissm.estimate” object into a flextable with options on symbolic representation and model equation.

Usage

# S3 method for summary.tsissm.estimate
as_flextable(
  x,
  digits = max(3L, getOption("digits") - 3L),
  signif.stars = getOption("show.signif.stars"),
  include.symbols = TRUE,
  include.equation = TRUE,
  include.statistics = TRUE,
  table.caption = paste0("ISSM Model: ", x$model),
  ...
)

Value

A flextable object.

Arguments

x

an object of class “summary.tsissm.estimate”.

digits

integer, used for number formatting. Optionally, to avoid scientific notation, set ‘options(scipen=999)’.

signif.stars

logical. If TRUE, ‘significance stars’ are printed for each coefficient.

include.symbols

logical. If TRUE, replaces parameter names with their symbols (if they exist).

include.equation

logical. If TRUE, adds a section with the symbolic model equation.

include.statistics

logical. If TRUE, adds a section with summary statistics on the model.

table.caption

an optional string for the table caption.

...

additional arguments passed to flextable method.