Calculate and plot a correlogram

Usage

corgram(y, wt=1, add=F, lty=1, ylim=NULL, xlab=NULL, ylab=NULL, main=NULL)

Arguments

y A time series vector.
wt Indicator vector with zeros for values to be ignored.
add If TRUE, adds a new correlogram to an existing plot.
others Graphics parameters

Description

corgram calculates the values of a correlogram and plots it.

Value

corgram returns a two-column matrix containing the correlogram.

Author(s)

J.K. Lindsey

Examples

y <- rnorm(100)
corgram(y)


[Package Contents]