TeX Matrix Polynomial Filters
as_tex_matrixfilter.Rd
TeX Matrix Polynomial Filters
Arguments
- coefs
3-dimensional array with the coefficients of the filter.
- x
(character string) polynomial variable or process variable.
- t
(character string) time/index variable.
Examples
coefs = array(round(rnorm(2*3*1), 1), dim = c(2,3,2))
as_tex_matrixfilter(coefs, x = '\\epsilon', t = 's')
#> [1] " \\begin{pmatrix}\n 0.5 & -0.3 & -0.2 \\\\\n 1.4 & 1.6 & 0.5 \\\\\n\\end{pmatrix} \\epsilon_{s} +\n \\begin{pmatrix}\n 0.5 & -0.3 & -0.2 \\\\\n 1.4 & 1.6 & 0.5 \\\\\n\\end{pmatrix} \\epsilon_{s-1}"