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

setinputs.tfmR 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.


tfarima documentation built on May 20, 2022, 5:06 p.m.