powered by
spec computes the spectrum of an ARMA model.
spec
spec(um, ...)# S3 method for um spec(um, n.freq = 501, ...)
# S3 method for um spec(um, n.freq = 501, ...)
an object of class um.
um
additional parameters.
number of frequencies.
A matrix with the frequencies and the power spectral densities.
# NOT RUN { um1 <- um(i = "(1 - B)(1 - B^12)", ma = "(1 - 0.8B)(1 - 0.8B^12)") s <- spec(um1, lag.max = 13) # }
Run the code above in your browser using DataLab