check_plot.ts | R Documentation |

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.

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

`y` |
a numeric vector or an object of the |

`model` |
A string with the model name. |

`...` |
Other plotting parameters to affect the plot. |

A graph object from ggplot2.

Asael Alonzo Matamoros.

`check_residuals`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.