polyprod | R Documentation |
The function accepts two vectors with the parameters for the polynomials and returns the vector of parameters after their multiplication. This can be especially useful, when working with ARIMA models.
polyprod(x, y)
x |
The vector of parameters of the first polynomial. |
y |
The vector of parameters of the second polynomial. |
The function returns a matrix with one column with the parameters for the polynomial, starting from the 0-order.
Ivan Svetunkov, ivan@svetunkov.com
convolve
## Not run: polyprod(c(1,-2,-1),c(1,0.5,0.3))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.