forecastsummary: Summarise iNZightTS forecasts

summary.inz_frctR Documentation

Summarise iNZightTS forecasts

Description

Summary method for objects of class inz_frct.

Usage

## S3 method for class 'inz_frct'
summary(object, var = NULL, ...)

## S3 method for class 'summary_inz_frct'
print(x, show_details = FALSE, ...)

Arguments

object

An inz_frct object representing the forecasts.

var

A character vector specifying the variable to summarize, or set to NULL to summarize all variables.

...

Additional arguments (ignored).

x

A 'summary_inz_frct' object containing forecast summaries.

show_details

Logical; set to 'TRUE' to show model details only when 'pred_model' is an "ARIMA" model.

Value

A summary_inz_frct object containing the first few forecast observations, the forecasting model used, and its details (such as call, coefficients, and goodness of fit statistics).

See Also

predict.inz_ts

Examples

ts <- inzightts(visitorsQ, var = 2:5)
p <- predict(ts, "Japan")
s <- summary(p, "Japan")
s
print(s, show_details = TRUE)


iNZightVIT/iNZightTS documentation built on Feb. 3, 2024, 11:50 p.m.