residuals.GLARMA {fableCount}R Documentation

Extract residuals from a fable model

Description

Extracts the residuals.

Usage

## S3 method for class 'GLARMA'
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_gla = GLARMA(Beer ~ pq(1,0))) |>
  dplyr::select(manual_gla) |>
  residuals()

[Package fableCount version 0.1.0 Index]