ui: Utility function for mixAR

View source: R/mixSARfit.R

uiR Documentation

Utility function for mixAR

Description

Extracts the (t-i)th component from a vector.

Usage

ui(x, t, i)

Arguments

x

A vector.

t

The present "time".

i

The lag. Can be a vector.

Value

Returns the (t-i)th element of the vector. If i=0, returns 1.

Note

This is a utility function for mixAR.

Author(s)

Davide Ravagli


mixAR documentation built on May 3, 2022, 5:08 p.m.

Related to ui in mixAR...