arma.roots | R Documentation |
Compute and display an AR or an MA polynomial and its roots, relative to the 'unit circle'.
arma.roots(coeficients, nplot = 400, my.title = NULL, digits = 4)
coeficients |
A vector of coefficients of polynomial. |
nplot |
The number of points used to display the plot (default is 400). |
my.title |
If my.title = NULL, it will display coefficient on middle top of graph; otherwise, it will not display coeeficient on graph. |
digits |
The number of decimal places to be used in numeric output (default is 4). |
The roots of the polynomial are returned as a vector, but invisibly.
arma.roots(c(1.6,0.4)) arma.roots(c(.5,-.1)) arma.roots(c(.5,-.9,.1,.5)) # trivial (first order or linear polynomial) example arma.roots(.5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.