plot.acf_plot: Plot ACF-like graphs

Description Usage Arguments Examples

Description

Generic ACF plot function for empirical and theoretical graphs

Usage

1
2
3
4
5
## S3 method for class 'acf_plot'
plot(x, show.ci = TRUE, ci = 0.95, ...)

## S3 method for class 'acf_plot'
autoplot(object, show.ci = TRUE, ci = 0.95, ...)

Arguments

x, object

A object from emp_acf, emp_pacf, theo_acf, or theo_pacf.

show.ci

A bool indicating whether to show confidence region

ci

A double containing the 1-alpha level. Default is 0.95

...

Additional parameters

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# Calculate the Autocorrelation
m = emp_acf(datasets::AirPassengers)

# Plot with 95% CI
plot(m)

# Plot with 90% CI
plot(m, ci = 0.90)

# Plot without 95% CI
plot(m, show.ci = FALSE)

SMAC-Group/exts documentation built on May 9, 2019, 11:15 a.m.