get_fitted: Compute the fitted values given 'level' and 'seasonal'...

View source: R/initialize_states.R

get_fittedR Documentation

Compute the fitted values given level and seasonal component, depending on whether we use additive or multiplicative components

Description

Compute the fitted values given level and seasonal component, depending on whether we use additive or multiplicative components

Usage

get_fitted(level, seasonal, method)

Arguments

level

A numeric vector representing the level (and trend) component

seasonal

A numeric vector representing the seasonal component

method

Are we using additive or multiplicative components?

Value

A numeric vector of the same length as level and seasonal


timradtke/heuristika documentation built on April 24, 2023, 1:55 a.m.