## S3 method for class 'default':
freqs(filt = 1, a = 1, W, \ldots)
## S3 method for class 'Arma':
freqs(filt, \ldots)
## S3 method for class 'Ma':
freqs(filt, \ldots)
## S3 method for class 'freqs':
print(x, \ldots)
## S3 method for class 'freqs':
plot(x, \ldots)
## S3 method for class 'default':
freqs_plot(w, h, \ldots)
## S3 method for class 'freqs':
freqs_plot(w, \ldots)filt
specifies an arbitrary model or filter operation.w
specifies an object from which to plot a frequency response.plot.freqs list of class freqs with items:freqs are printed, freqs_plot will be
called to display frequency plots of magnitude and phase. As with
lattice plots, automatic printing does not work inside loops and
function calls, so explicit calls to print are
needed there.filter, Arma, freqzb = c(1, 2)
a = c(1, 1)
w = linspace(0, 4, 128)
freqs(b, a, w)Run the code above in your browser using DataLab