defines Y and X in the CUBS equation.
.getXYcubs(stateSmoothed, model, cycleLag, cubsAR, names, trim = FALSE)
The smoothed states.
An object of class TFPmodel.
A non-negative integer specifying the maximum cycle lag that is included
in the CUBD equation. The default is cycleLag = 0
, see details.
A non-negative integer specifying the maximum CUBS lag that is included
in the CUBS equation. The default is cubsAR = 0
, see details.
The names of the columns.
A logical indicating whether NAs should be trimmed.