Learn R Programming

bayesforecast (version 1.0.5)

ggacf: acf plot

Description

Plot of the auto-correlation function for a univariate time series.

Usage

ggacf(y, title = NULL)

Value

None. Function produces a ggplot2 graph.

Arguments

y

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

title

a string with the plot's title.

Author

Asael Alonzo Matamoros

Examples

Run this code
x = rnorm(100)
ggacf(x)

Run the code above in your browser using DataLab