print_decomposition: Print the decomposition

View source: R/print_decomposition.R

print_decompositionR Documentation

Print the decomposition

Description

Function to print the decomposition model

Usage

print_decomposition(
  x,
  format = knitr::opts_knit$get("rmarkdown.pandoc.to"),
  plot = TRUE,
  digits = 3,
  decimal.mark = getOption("OutDec"),
  booktabs = TRUE,
  ...
)

Arguments

x

the object to print.

format

output format: "latex" or "html".

plot

boolean indicating whether to plot or not the S-I Ratio.

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").

...

arguments passed to plot.decomposition_X11 or plot.decomposition_SEATS.

Examples

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

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


sa_ts <- RJDemetra::jtramoseats(ipi)
print_decomposition(sa_ts, format = "html")



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