Nothing
#' Print method for fars object
#'
#' @description Prints a short summary of the fars object
#'
#' @param x An object of class \code{fars_quantiles}.
#' @param ... Additional arguments (ignored).
#'
#' @return The input object \code{x}, returned invisibly.
#'
#' @method print fars
#' @export
print.fars <- function(x, ...) {
cat("Factor-Augmented Quantile Regressions (FARS)\n")
cat("===========================================\n")
cat("Forecasted quantiles:\n")
cat(" - Number of periods: ", nrow(x$Quantiles), "\n")
cat(" - Quantile levels: ", formatC(x$Levels, format = "f", digits = 2), "\n\n")
if (!is.null(x$Stressed_Quantiles)) {
cat("Stressed quantiles: YES\n")
} else {
cat("Stressed quantiles: NO\n")
}
invisible(x)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.