| setinputs.tfm | R Documentation |
Adds new inputs to transfer function or univariate models.
## S3 method for class 'tfm'
setinputs(
mdl,
xreg = NULL,
inputs = NULL,
y = NULL,
envir = parent.frame(),
...
)
setinputs(mdl, ...)
## S3 method for class 'um'
setinputs(mdl, xreg = NULL, inputs = NULL, y = NULL, envir = NULL, ...)
mdl |
A |
xreg |
Optional matrix of exogenous regressors. |
inputs |
Optional list of |
y |
Optional |
envir |
Environment for evaluation. Default is calling environment. |
... |
Additional arguments passed to model constructor. |
For tfm objects: If the model already has inputs of the same type,
new ones are appended (combined). The model is re-fitted by default unless
fit = FALSE.
A tfm object.
um, tfm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.