factors | R Documentation |
factors
extracts the simplifying factors of a polynomial in the lag
operator by replacing, if needed, its approximate unit or real roots to exact
unit or real roots.
factors(lp, ...)
## S3 method for class 'lagpol'
factors(lp, tol = 1e-05, expand = FALSE, ...)
lp |
an object of class |
... |
additional arguments. |
tol |
tolerance for real and unit roots. |
expand |
logical if the expanded polynomial should be returned. |
factors
returns a list with the simplifying factors of the lag
polynomial or the expanded polynomial.
factors( as.lagpol(c(1, rep(0, 11), -1)) )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.