| roots2lagpol | R Documentation |
roots2lagpol creates a lag polynomial from its roots.
roots2lagpol(x, lp = TRUE, ...)
x |
a vector of real and/or complex roots. |
lp |
logical. If TRUE, a object of class |
... |
additional arguments. |
A lag polynomial or a numeric vector.
roots2lagpol(polyroot(c(1, -1)))
roots2lagpol(polyroot(c(1, -1, 1)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.