Learn R Programming

ggfortify (version 0.4.17)

confint.acf: Calculate confidence interval for stats::acf

Description

Calculate confidence interval for stats::acf

Usage

# S3 method for acf
confint(x, ci = 0.95, ci.type = "white")

Value

vector

Arguments

x

stats::acf instance

ci

Float value for confidence interval

ci.type

"white" or "ma"

Examples

Run this code
if (FALSE) {
air.acf <- acf(AirPassengers, plot = FALSE)
ggfortify:::confint.acf(air.acf)
ggfortify:::confint.acf(air.acf, ci.type = 'ma')
}

Run the code above in your browser using DataLab