Learn R Programming

tolBasis (version 1.0)

as.Polyn: Polyn Conversion Functions

Description

Function to convert between different objects to class "Polyn" representing lag polynomials as in TOL language.

Usage

as.Polyn(x, ...)

Arguments

x
object to be coerced
...
further arguments passed to or from other methods

Value

Returns an object of class "Polyn".

Examples

Run this code
# Creates lag polynomial: 1+B^2
p <- as.Polyn(c(1,0,1)) 

Run the code above in your browser using DataLab