Learn R Programming

fabletools

The R package fabletools provides tools for building modelling packages, with a focus on time series forecasting. This package allows package developers to extend fable with additional models, without needing to depend on the models supported by fable.

Installation

You could install the stable version on CRAN:

install.packages("fabletools")

You can install the development version from GitHub:

# install.packages("remotes")
remotes::install_github("tidyverts/fabletools")

Copy Link

Version

Install

install.packages('fabletools')

Monthly Downloads

18,652

Version

0.5.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mitchell O'Hara-Wild

Last Published

September 17th, 2024

Functions in fabletools (0.5.0)

combination_weighted

Weighted combination
dable

Create a dable object
fabletools-package

fabletools: Core Tools for Packages in the 'fable' Framework
decomposition_model

Decomposition modelling
feature_set

Create a feature set from tags
fable-vctrs

Internal vctrs methods
MDA

Directional accuracy measures
fable

Create a fable object
components.mdl_df

Extract components from a fitted model
glance.mdl_df

Glance a mable
fitted.mdl_df

Extract fitted values from models
generate.mdl_df

Generate responses from a mable
percentile_score

Distribution accuracy measures
features_by_tag

Features by tag
common_xregs

Common exogenous regressors
is_mable

Is the object a mable
is_aggregated

Is the element an aggregation of smaller data
min_trace

Minimum trace forecast reconciliation
estimate

Estimate a model
distribution_var

Return distribution variable
construct_fc

Construct a new set of forecasts
winkler_score

Interval estimate accuracy measures
hypothesize.mdl_df

Run a hypothesis test from a mable
dable-vctrs

Internal vctrs methods
features

Extract features from a dataset
interpolate.mdl_df

Interpolate missing values
common_periods

Extract frequencies for common seasonal periods
forecast.mdl_df

Produce forecasts
is_dable

Is the object a dable
scenarios

A set of future scenarios for forecasting
features_by_pkg

Features by package
model_sum

Provide a succinct summary of a model
new_model_class

Create a new class of models
is_model

Is the object a model
skill_score

Forecast skill score measure
new_transformation

Create a new modelling transformation
mable_vars

Return model column variables
new_specials

Create evaluation environment for specials
middle_out

Middle out forecast reconciliation
report

Report information about an object
model

Estimate models
parse_model_lhs

Parse the RHS of the model formula for transformations
reconcile

Forecast reconciliation
ME

Point estimate accuracy measures
model_rhs

Extract the right hand side of a model
model_lhs

Extract the left hand side of a model
special_xreg

Helper special for producing a model matrix of exogenous regressors
parse_model

Parse the model specification for specials
is_fable

Is the object a fable
validate_formula

Validate the user provided model
parse_model_rhs

Parse the RHS of the model formula for specials
mable-vctrs

Internal vctrs methods
reexports

Objects exported from other packages
outliers

Identify outliers
refit.mdl_df

Refit a mable to a new dataset
mable

Create a new mable
register_feature

Register a feature function
null_model

NULL model
response

Extract the response variable from a model
residuals.mdl_df

Extract residuals values from models
tidy.mdl_df

Extract model coefficients from a mable
top_down

Top down forecast reconciliation
response_vars

Return response variables
unpack_hilo

Unpack a hilo column
stream

Extend a fitted model with new data
traverse

Recursively traverse an object
as_mable

Coerce a dataset to a mable
IRF

Compute Impulse Response Function (IRF)
aggregation-vctrs

Internal vctrs methods
as_dable

Coerce to a dable object
MAAPE

Mean Arctangent Absolute Percentage Error
accuracy.mdl_df

Evaluate accuracy of a forecast or model
aggregate_index

Expand a dataset to include temporal aggregates
agg_vec

Create an aggregation vector
aggregate_key

Expand a dataset to include other levels of aggregation
as_fable

Coerce to a fable object
bottom_up

Bottom up forecast reconciliation
combination_ensemble

Ensemble combination
box_cox

Box Cox Transformation
combination_model

Combination modelling
bias_adjust

Bias adjust back-transformation functions
augment.mdl_df

Augment a mable
autoplot.dcmp_ts

Decomposition plots
autoplot.tbl_ts

Plot time series from a tsibble
autoplot.fbl_ts

Plot a set of forecasts