This is an internal function that usually won't be called by users directly. It validates the model type and generates the corresponding list of parameters for the model.
initModel(
model.type = NULL,
use.regression = FALSE,
seasonalityMethodId = 0,
levelMethodId = 0,
useSmoothingMethodForError = FALSE
)
an Rlgt skeleton model
type of the forecasting model selected, a character object
binary parameter indicating whether additional regressors will be used for forecasting in multivariate settings.
Seasonality method Id (0- HW, 1- generalized).
Level method Id.
if the non-standard function for error size should be used, one based on smoothed innovations or surprises