Learn R Programming

bayesforecast (version 1.0.1)

ggacf: acf plot

Description

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

Usage

ggacf(y, title = NULL)

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.

Value

None. Function produces a ggplot2 graph.

Examples

Run this code
# NOT RUN {
x = rnorm(100)
ggacf(x)

# }

Run the code above in your browser using DataLab