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

15,111

Version

0.6.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mitchell O'Hara-Wild

Last Published

February 9th, 2026

Functions in fabletools (0.6.0)

construct_fc

Construct a new set of forecasts
distribution_var

Return distribution variable
dable

Create a dable object
decomposition_model

Decomposition modelling
dable-vctrs

Internal vctrs methods
fabletools-package

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

Create a feature set from tags
interpolate.mdl_df

Interpolate missing values
autoplot.dcmp_ts

Decomposition plots
components.mdl_df

Extract components from a fitted model
is_dable

Is the object a dable
fable

Create a fable object
augment.mdl_df

Augment a mable
is_mable

Is the object a mable
is_model

Is the object a model
features_by_tag

Features by tag
fitted.mdl_df

Extract fitted values from models
fable-vctrs

Internal vctrs methods
hypothesize.mdl_df

Run a hypothesis test from a mable
common_xregs

Common exogenous regressors
box_cox

Box Cox Transformation
model_lhs

Extract the left hand side of a model
generate.mdl_df

Generate responses from a mable
features

Extract features from a dataset
estimate

Estimate a model
features_by_pkg

Features by package
model_sum

Provide a succinct summary of a model
is_fable

Is the object a fable
new_model_class

Create a new class of models
null_model

NULL model
glance.mdl_df

Glance a mable
mable-vctrs

Internal vctrs methods
mable

Create a new mable
parse_model_rhs

Parse the RHS of the model formula for specials
ME

Point estimate accuracy measures
response

Extract the response variable from a model
response_vars

Return response variables
validate_formula

Validate the user provided model
model_rhs

Extract the right hand side of a model
middle_out

Middle out forecast reconciliation
mable_vars

Return model column variables
parse_model

Parse the model specification for specials
combination_ensemble

Ensemble combination
common_periods

Extract frequencies for common seasonal periods
forecast.mdl_df

Produce forecasts
model

Estimate models
is_aggregated

Is the element an aggregation of smaller data
min_trace

Minimum trace forecast reconciliation
reexports

Objects exported from other packages
parse_model_lhs

Parse the RHS of the model formula for transformations
percentile_score

Distribution accuracy measures
reconcile

Forecast reconciliation
MDA

Directional accuracy measures
winkler_score

Interval estimate accuracy measures
refit.mdl_df

Refit a mable to a new dataset
new_transformation

Create a new modelling transformation
new_specials

Create evaluation environment for specials
outliers

Identify outliers
scenarios

A set of future scenarios for forecasting
skill_score

Forecast skill score measure
unpack_hilo

Unpack a hilo column
special_xreg

Helper special for producing a model matrix of exogenous regressors
stream

Extend a fitted model with new data
traverse

Recursively traverse an object
register_feature

Register a feature function
report

Report information about an object
residuals.mdl_df

Extract residuals values from models
tidy.mdl_df

Extract model coefficients from a mable
top_down

Top down forecast reconciliation
as_dable

Coerce to a dable object
aggregate_index

Expand a dataset to include temporal aggregates
as_mable

Coerce a dataset to a mable
accuracy.mdl_df

Evaluate accuracy of a forecast or model
as_fable

Coerce to a fable object
MAAPE

Mean Arctangent Absolute Percentage Error
agg_vec

Create an aggregation vector
aggregate_key

Expand a dataset to include other levels of aggregation
aggregation-vctrs

Internal vctrs methods
IRF

Compute Impulse Response Function (IRF)
autoplot.fbl_ts

Plot a set of forecasts
autoplot.tbl_ts

Plot time series from a tsibble
combination_weighted

Weighted combination
combination_model

Combination modelling
bottom_up

Bottom up forecast reconciliation
bias_adjust

Bias adjust back-transformation functions