getModel: Return a forecast model function for a given model character

View source: R/helper.R

getModelR Documentation

Return a forecast model function for a given model character

Description

Convert the single-letter representation used in the "forecastHybrid" package to the corresponding model function from the "forecast" package

Usage

getModel(modelCharacter)

Arguments

modelCharacter

a single character representing one of the models from the models argument passed to hybridModel

See Also

hybridModel

Examples

forecastHybrid:::getModel("a")
forecastHybrid:::getModel("s")
forecastHybrid:::getModel("z")

forecastHybrid documentation built on Aug. 8, 2025, 6:43 p.m.