View source: R/initialisation.R
| initModel | R Documentation | 
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
)
| model.type | type of the forecasting model selected, a character object | 
| use.regression | binary parameter indicating whether additional regressors will be used for forecasting in multivariate settings. | 
| seasonalityMethodId | Seasonality method Id (0- HW, 1- generalized). | 
| levelMethodId | Level method Id. | 
| useSmoothingMethodForError | if the non-standard function for error size should be used, one based on smoothed innovations or surprises | 
an Rlgt skeleton model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.