Learn R Programming

fableCount (version 0.1.0)

residuals.INGARCH: Extract residuals from a fable model

Description

Extracts the residuals.

Usage

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

Value

A vector of fitted residuals.

Arguments

object

A model for which forecasts are required.

...

Other arguments passed to methods

Examples

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

Run the code above in your browser using DataLab