powered by
roots.lagpol computes the roots of a lag polynomial.
roots.lagpol
# S3 method for lagpol roots(x, table = TRUE, ...)# S3 method for default roots(x, ...)
# S3 method for default roots(x, ...)
an object of class lagpol.
lagpol
logical. If TRUE, it returns a five columns table showing the real and imaginary parts, the modulus, the frequency and the period of each root.
additional arguments.
A vector or a table.
# NOT RUN { roots(c(1, 1.2, -0.8)) # }
Run the code above in your browser using DataLab