dot-getXYcubs: defines Y and X in the CUBS equation.

.getXYcubsR Documentation

defines Y and X in the CUBS equation.

Description

defines Y and X in the CUBS equation.

Usage

.getXYcubs(stateSmoothed, model, cycleLag, cubsAR, names, trim = FALSE)

Arguments

stateSmoothed

The smoothed states.

model

An object of class TFPmodel.

cycleLag

A non-negative integer specifying the maximum cycle lag that is included in the CUBD equation. The default is cycleLag = 0, see details.

cubsAR

A non-negative integer specifying the maximum CUBS lag that is included in the CUBS equation. The default is cubsAR = 0, see details.

names

The names of the columns.

trim

A logical indicating whether NAs should be trimmed.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.