Learn R Programming

tfarima (version 0.3.2)

setinputs.tfm: setinputs adds new inputs into a transfer function model.

Description

setinputs adds new inputs into a transfer function model.

Usage

# S3 method for tfm
setinputs(
  mdl,
  xreg = NULL,
  inputs = NULL,
  y = NULL,
  envir = parent.frame(),
  ...
)

setinputs(mdl, ...)

# S3 method for 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.