Learn R Programming

iNZightTS (version 2.0.0)

summary.inz_frct: Summarise iNZightTS forecasts

Description

Summary method for objects of class inz_frct.

Usage

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

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

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

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.

See Also

predict.inz_ts

Examples

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

Run the code above in your browser using DataLab