Learn R Programming

forecastHybrid (version 5.0.19)

getModelName: Translate character to model name

Description

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

Usage

getModelName(modelCharacter)

Arguments

modelCharacter

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

See Also

hybridModel

Examples

Run this code
# NOT RUN {
forecastHybrid:::getModelName("a")
forecastHybrid:::getModelName("s")
forecastHybrid:::getModelName("z")
# }

Run the code above in your browser using DataLab