powered by
Creates formatted tables suitable for academic publications from QARDL estimation results.
qardl_table( x, type = c("text", "latex", "html"), include = c("beta", "gamma"), stars = TRUE, digits = 3, caption = NULL, label = NULL )
Character string containing the formatted table.
An object of class "qardl".
"qardl"
Character. Type of table: "latex", "html", or "text". Default is "text".
"latex"
"html"
"text"
Character vector. Which parameters to include: "beta", "phi", "gamma", "rho". Default is c("beta", "gamma").
"beta"
"phi"
"gamma"
"rho"
c("beta", "gamma")
Logical. Include significance stars. Default is TRUE.
TRUE
Integer. Number of decimal places. Default is 3.
Character. Table caption. Default is NULL.
NULL
Character. LaTeX label. Default is NULL.
data(qardl_sim) fit <- qardl(y ~ x1 + x2, data = qardl_sim, tau = c(0.25, 0.50, 0.75), p = 2, q = 2) cat(qardl_table(fit, type = "text"))
Run the code above in your browser using DataLab