Learn R Programming

KFAS (version 1.0.3)

fitted.KFS: Extract Fitted Values of State Space Model

Description

Extracts fitted values from output of KFS.

Usage

## S3 method for class 'KFS':
fitted(object, start = NULL, end = NULL, filtered = FALSE,
  ...)

Arguments

object
An object of class KFS.
start
The start time of the period of interest. Defaults to first time point of the object.
end
The end time of the period of interest. Defaults to the last time point of the object.
filtered
Logical, return filtered instead of smoothed estimates of mean vector. Default is FALSE.
...
Ignored.

Value

  • Multivariate time series containing fitted values.