Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

as.data.frame.seas

Coerce Output to data.frame


Description

These methods coerce the output to a data.frame. This is useful for further processing. (This is a second attempt to do that; the first experimental attempt in version 1.4 used an argument data.frame in the call to the functions, and is now obsolete. The present approach seems cleaner and is likely to stay, but still consider it as experimental.)

Usage

## S3 method for class 'seas'
as.data.frame(x, ...)

## S3 method for class 'summary.seas'
as.data.frame(x, ...)

Arguments

x

an object of class "seas" or "summary.seas", usually, the result of a call to the functions with the same name.

...

unused.

Details

The data.frames produced by these functions follow the naming conventions from the 'broom' package, but do not depend on it otherwise.

Value

a data.frame without row names.

Examples

m <- seas(AirPassengers, x11 = "")

# a data.frame containing data
as.data.frame(m)

# a data.frame containing the summary information on the coefficients
as.data.frame(summary(m))

seasonal

R Interface to X-13-ARIMA-SEATS

v1.8.2
GPL-3
Authors
Christoph Sax [aut, cre] (<https://orcid.org/0000-0002-7192-7044>), Dirk Eddelbuettel [ctb] (<https://orcid.org/0000-0001-6419-907X>)
Initial release
2021-03-23

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.