sdfplot.ar {FitAR}R Documentation

Autoregressive Spectral Density Estimation for "ar"

Description

Method for class "ar" for sdfplot.

Usage

## S3 method for class 'ar':
sdfplot(obj, ...)

Arguments

obj class "ar" object, output from ar
... optional arguments

Value

Plot is produced using plot. Matrix with 2 columns containing the frequencies and spectral density is returned invisibly.

Author(s)

A.I. McLeod

See Also

ARSdf, sdfplot, sdfplot.FitAR, sdfplot.ts

Examples

#Fit AR(p) using AIC model selection and Burg estimates. Plot spectral density
#estimate
ans<-ar(lynx, lag.max=20)
sdfplot(ans)

[Package FitAR version 1.79 Index]