check_plot: Generic function for a visual check of residuals in time...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/autoplot.R

Description

Generic function for a visual check of residuals in time series models, these methods are inspired in the check.residuals function provided by the forecast package.

Usage

1
2
## S3 method for class 'ts'
check_plot(y, model = " ", ...)

Arguments

y

a numeric vector or an object of the ts class containing a stationary time series.

model

A string with the model name.

...

Other plotting parameters to affect the plot.

Value

A graph object from ggplot2

Author(s)

Asael Alonzo Matamoros

See Also

check_residuals

Examples

1
2
y = arima.sim(100,model = list(ar = 0.3))
check_plot(y)

nortsTest documentation built on Aug. 16, 2021, 5:06 p.m.