as.SarimaModel: Convert S3 model objects to class SarimaModel

as.SarimaModelR Documentation

Convert S3 model objects to class SarimaModel

Description

Convert S3 model objects to class SarimaModel.

Usage

as.SarimaModel(x, ...)

## S3 method for class 'Arima'
as.SarimaModel(x, ...)

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.

Value

an object from class "SarimaModel"

See Also

SarimaModel


sarima documentation built on Aug. 11, 2022, 5:11 p.m.