residuals.INGARCH {fableCount}R Documentation

Extract residuals from a fable model

Description

Extracts the residuals.

Usage

## S3 method for class 'INGARCH'
residuals(object, ...)

Arguments

object

A model for which forecasts are required.

...

Other arguments passed to methods

Value

A vector of fitted residuals.

Examples

tsibbledata::aus_production |>
  fabletools::model(manual_ing = INGARCH(Beer ~ pq(1,1) + PQ(1,1))) |>
  dplyr::select(manual_ing) |>
  residuals()


[Package fableCount version 0.1.0 Index]