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.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Mitchell O'Hara-Wild

Last Published

February 16th, 2026

Functions in fabletools (0.6.1)

combination_model

Combination modelling
combination_weighted

Weighted combination
distribution_var

Return distribution variable
features_by_tag

Features by tag
fable

Create a fable object
fable-vctrs

Internal vctrs methods
autoplot.tbl_ts

Plot time series from a tsibble
autoplot.fbl_ts

Plot a set of forecasts
MDA

Directional accuracy measures
percentile_score

Distribution accuracy measures
model_sum

Provide a succinct summary of a model
fitted.mdl_df

Extract fitted values from models
new_model_class

Create a new class of models
generate.mdl_df

Generate responses from a mable
glance.mdl_df

Glance a mable
forecast.mdl_df

Produce forecasts
combination_ensemble

Ensemble combination
box_cox

Box Cox Transformation
estimate

Estimate a model
dable

Create a dable object
decomposition_model

Decomposition modelling
is_model

Is the object a model
is_mable

Is the object a mable
features

Extract features from a dataset
common_periods

Extract frequencies for common seasonal periods
winkler_score

Interval estimate accuracy measures
hypothesize.mdl_df

Run a hypothesis test from a mable
reconcile

Forecast reconciliation
dable-vctrs

Internal vctrs methods
construct_fc

Construct a new set of forecasts
features_by_pkg

Features by package
interpolate.mdl_df

Interpolate missing values
special_xreg

Helper special for producing a model matrix of exogenous regressors
model_lhs

Extract the left hand side of a model
parse_model_rhs

Parse the RHS of the model formula for specials
stream

Extend a fitted model with new data
model_rhs

Extract the right hand side of a model
ME

Point estimate accuracy measures
feature_set

Create a feature set from tags
is_dable

Is the object a dable
fabletools-package

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

Objects exported from other packages
scenarios

A set of future scenarios for forecasting
is_aggregated

Is the element an aggregation of smaller data
parse_model_lhs

Parse the RHS of the model formula for transformations
parse_model

Parse the model specification for specials
response

Extract the response variable from a model
mable-vctrs

Internal vctrs methods
null_model

NULL model
is_fable

Is the object a fable
mable_vars

Return model column variables
traverse

Recursively traverse an object
response_vars

Return response variables
mable

Create a new mable
outliers

Identify outliers
unpack_hilo

Unpack a hilo column
validate_formula

Validate the user provided model
refit.mdl_df

Refit a mable to a new dataset
middle_out

Middle out forecast reconciliation
skill_score

Forecast skill score measure
register_feature

Register a feature function
min_trace

Minimum trace forecast reconciliation
model

Estimate models
new_transformation

Create a new modelling transformation
new_specials

Create evaluation environment for specials
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_fable

Coerce to a fable object
aggregation-vctrs

Internal vctrs methods
IRF

Compute Impulse Response Function (IRF)
aggregate_index

Expand a dataset to include temporal aggregates
accuracy.mdl_df

Evaluate accuracy of a forecast or model
agg_vec

Create an aggregation vector
aggregate_key

Expand a dataset to include other levels of aggregation
as_dable

Coerce to a dable object
MAAPE

Mean Arctangent Absolute Percentage Error
as_mable

Coerce a dataset to a mable
augment.mdl_df

Augment a mable
bottom_up

Bottom up forecast reconciliation
autoplot.dcmp_ts

Decomposition plots
components.mdl_df

Extract components from a fitted model
bias_adjust

Bias adjust back-transformation functions
common_xregs

Common exogenous regressors