

   aauuttooccoorrrreellaattiioonn ffuunnccttiioonn ffoorr ttiimmee sseerriieess

        acf(x, lag.max, type = "correlation", plot = T)

   AArrgguummeennttss::

          x: a time series, vector or matrix

    lag.max: maximum lag at which to calculate acf

       type: by default an autocorrelation function is calcu-
             lated.  If type="covariance" the autocovariance
             function is calculated.  Partial correlations are
             not implemented

       plot: flag for S-PLUS compatibility. Ignored

   VVaalluuee::

        A list with the following elements:

        acf: Autocorrelation function

        lag: Lag values at which acf is calculated

     n.used: Number of observations used in calculation

       type: See above

     series: Name of time series used as input

   AAuutthhoorr((ss))::

        Martyn Plummer

