roots.lagpol {tfarima}R Documentation

Roots of a lag polynomial

Description

roots.lagpol computes the roots of a lag polynomial.

Usage

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

## Default S3 method:
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

roots(c(1, 1.2, -0.8))


[Package tfarima version 0.3.2 Index]