| as.lagpol | R Documentation |
as.lagpol converts a numeric vector c(1, -a_1, ..., -a_d)
into a lag polynomial (1 - a_1 B - ... - a_p B^p).
as.lagpol(pol, p = 1, coef.name = "a")
pol |
the numeric vector to be converted into an object of class lag polynomial. |
p |
the exponent of the lag polynomial, positive integer. |
coef.name |
name prefix for coefficients, character. |
An object of class lagpol.
as.lagpol(c(1, -0.8))
as.lagpol(c(1, 0, 0, 0, -0.8))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.