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

Description Usage Arguments See Also Examples

View source: R/helper.R

Description

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

Usage

1
getModel(modelCharacter)

Arguments

modelCharacter

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

See Also

hybridModel

Examples

1
2
3
forecastHybrid:::getModel("a")
forecastHybrid:::getModel("s")
forecastHybrid:::getModel("z")

forecastHybrid documentation built on Aug. 28, 2020, 9:08 a.m.