train | R Documentation |
train
is a generic function for training a time series model
based on a particular training function defined in a modeling
object.
The function invokes particular methods which
depend on the class of the first argument.
train(obj, ...)
## S3 method for class 'MLM'
train(obj, data, ...)
## S3 method for class 'linear'
train(obj, data, ...)
obj |
An object of class |
... |
Other parameters passed to For |
data |
A list of time series to be modelled. |
A list containing obj
and the trained models.
Rebecca Pontes Salles
Other train:
train.tspred()
data(CATS,CATS.cont)
a <- ARIMA()
model <- train(a,list(CATS[,1]))
n <- NNET(size=5, sw=SW(window_len = 5+1), proc=list(MM=MinMax()))
model <- train(n,list(CATS[,1]))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.