Learn R Programming

tsapp (version 1.0.4)

acfpacf: acfpacf produces a plot of the acf and the pacf of a time series

Description

acfpacf produces a plot of the acf and the pacf of a time series

Usage

acfpacf(x, lag, HV = "H")

Arguments

x

the series, a vector or a time series

lag

scalar, maximal lag to be plotted

HV

character, controls division of graphic window: "H" horizontal, "V" vertical, default is "H"

Examples

Run this code
# NOT RUN {
  data(LYNX)
  acfpacf(log(LYNX),15,HV="H") 
# }

Run the code above in your browser using DataLab