Learn R Programming

tfarima (version 0.3.2)

roots.lagpol: Roots of a lag polynomial

Description

roots.lagpol computes the roots of a lag polynomial.

Usage

# S3 method for lagpol
roots(x, table = TRUE, ...)

# S3 method for default roots(x, ...)

Arguments

x

an object of class lagpol.

table

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.

Value

A vector or a table.

Examples

Run this code
# NOT RUN {
roots(c(1, 1.2, -0.8))

# }

Run the code above in your browser using DataLab