Learn R Programming

tfarima (version 0.4.1)

inv: Inverse of a lag polynomial

Description

inv inverts a lag polynomial until the indicated lag.

Usage

inv(lp, ...)

# S3 method for lagpol inv(lp, lag.max = 10, ...)

Value

inv returns a numeric vector with the coefficients of the inverse lag polynomial truncated at lag.max.

Arguments

lp

an object of class lagpol.

...

additional arguments.

lag.max

largest order of the inverse lag polynomial.

Examples

Run this code
inv(as.lagpol(c(1, 1.2, -0.8))) 

Run the code above in your browser using DataLab