print_diagnostics: Print the diagnostics

View source: R/print_diagnostics.R

print_diagnosticsR Documentation

Print the diagnostics

Description

Function to print diagnostics tests on the quality of the pre-processing and the decomposition

Usage

print_diagnostics(
  x,
  format = knitr::opts_knit$get("rmarkdown.pandoc.to"),
  signif.stars = TRUE,
  tests = c("mean", "skewness", "kurtosis", "ljung box",
    "ljung box (residuals at seasonal lags)", "ljung box (squared residuals)",
    "qs test on sa", "qs test on i", "f-test on sa (seasonal dummies)",
    "f-test on i (seasonal dummies)", "Residual seasonality (entire series)",
    "Residual seasonality (last 3 years)", "f-test on sa (td)", "f-test on i (td)"),
  digits = 3,
  decimal.mark = getOption("OutDec"),
  booktabs = TRUE,
  ...
)

Arguments

x

the object to print.

format

output format: "latex" or "html".

signif.stars

logical; if TRUE, p-values are additionally encoded visually as ‘significance stars’ in order to help scanning of long coefficient tables

tests

characters containing the names of the tests to print.

digits

number of digits after the decimal point.

decimal.mark

the character to be used to indicate the numeric decimal point.

booktabs

boolean indicating whether to use or not the booktabs package (when format = "latex").

...

unused arguments.

Examples

ipi <- RJDemetra::ipi_c_eu[, "FR"]

jsa_x13 <- RJDemetra::jx13(ipi)
print_diagnostics(jsa_x13, format = "latex")


sa_ts <- RJDemetra::tramoseats(ipi)
print_diagnostics(sa_ts, format = "html")


AQLT/rjdmarkdown documentation built on Feb. 4, 2024, 10:39 p.m.