setinputs.tfm {tfarima}R Documentation

setinputs adds new inputs into a transfer function model.

Description

setinputs adds new inputs into a transfer function model.

Usage

## 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, ...)

Arguments

mdl

a umm or tfm object.

xreg

a matrix of inputs.

inputs

a list of tf objects.

y

an optional ts object.

envir

an environment.

...

other arguments.

Value

A tfm object.


[Package tfarima version 0.3.2 Index]