Convert S3 model objects to class SarimaModel
as.SarimaModel.Rd
Convert S3 model objects to class SarimaModel.
Arguments
- x
an objects from a class representing Seasonal ARIMA models.
- ...
further arguments for methods.
Details
This function can be useful when one needs to manipulate the components of SARIMA models.
The method for class Arima
(objects generated by stats::arima()
)
extracts the model information and convert it to "SarimaModel"
.
For S4 classes, there are methods for as()
, where
suitable. modelCoef
provides a more powerful conversion
mechanism.