Learn R Programming

healthyR.ts (version 0.3.1)

model_extraction_helper: Model Method Extraction Helper

Description

This takes in a model fit and returns the method of the fit object.

Usage

model_extraction_helper(.fit_object)

Value

A model description

Arguments

.fit_object

A time-series fitted model

Author

Steven P. Sanderson II, MPH

Details

Currently supports forecasting model of one of the following from the forecast package:

  • Arima

  • auto.arima

  • ets

  • nnetar

  • workflow fitted models.

See Also

Other Utility: auto_stationarize(), calibrate_and_plot(), internal_ts_backward_event_tbl(), internal_ts_both_event_tbl(), internal_ts_forward_event_tbl(), ts_get_date_columns(), ts_info_tbl(), ts_is_date_class(), ts_lag_correlation(), ts_model_auto_tune(), ts_model_compare(), ts_model_rank_tbl(), ts_model_spec_tune_template(), ts_qq_plot(), ts_scedacity_scatter_plot(), ts_to_tbl(), util_difflog_ts(), util_doublediff_ts(), util_doubledifflog_ts(), util_log_ts(), util_singlediff_ts()

Examples

Run this code
# NOT RUN
if (FALSE) {
suppressPackageStartupMessages(library(forecast))

# Create a model
fit_arima  <- auto.arima(AirPassengers)

model_extraction_helper(fit_arima)
}

Run the code above in your browser using DataLab