roots.lagpol: Roots of a lag polynomial

View source: R/lagpol.R

roots.lagpolR 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))


tfarima documentation built on May 20, 2022, 5:06 p.m.