check_residuals: Visual check of residuals in a 'varstan' object.

View source: R/autoplot.R

check_residualsR Documentation

Visual check of residuals in a varstan object.

Description

Performs a visual check of residuals in time series models, this method is inspired in the check.residuals function provided by the forecast package.

Usage

check_residuals(object, ...)

Arguments

object

a varstan object.

...

Other plotting parameters to affect the plot.

Value

None. Function produces a ggplot2 graph.

Author(s)

Asael Alonzo Matamoros.

Examples


 sf1 = auto.sarima(ts = birth, iter = 500, chains = 1)
 # fitted model
 check_residuals(sf1)



bayesforecast documentation built on June 8, 2025, 10:42 a.m.