check_plot.ts {nortsTest} | R Documentation |
Generic function for a visual check of residuals in time series models.
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
## S3 method for class 'ts'
check_plot(y, model = " ", ...)
Arguments
y |
a numeric vector or an object of the |
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
y = arima.sim(100,model = list(ar = 0.3))
check_plot(y)
[Package nortsTest version 1.1.2 Index]