Skip to content

FFTrees

2.1.0Package record

Generate, Visualise, and Evaluate Fast-and-Frugal Decision Trees

0packages depend
7.1Kdownloads / year
67.0%test coverage
13/13flavors OK

Overview

About

Create, visualize, and test fast-and-frugal decision trees (FFTs) using the algorithms and methods described by Phillips, Neth, Woike & Gaissmaier (2017), doi:10.1017/S1930297500006239. FFTs are simple and transparent decision trees for solving binary classification problems. FFTs can be preferable to more complex algorithms because they require very little information, are easy to understand and communicate, and are robust against overfitting.

Changes in 2.1.0

**FFTrees** version 2.1.0 was released on CRAN [on 2025-09-03].

This version reduces non-essential functionality, increases robustness, and fixes some bugs.

Breaking changes

  • Deprecated all applications of non-FFT competitive algorithms (i.e., LR, SVM, RF) in FFT creation.

From now on, consider using dedicated packages (such as **parsnip** or **tidymodels**) to create and evaluate these models.

Major changes

  • Added support for handling NA values.

Minor changes

Plotting:

  • plot.FFTrees() now labels row of 2x2 confusion matrix as "Prediction" when using "test" data.
  • plot.FFTrees() now has a truth.labels argument which, if set, distinguishes labels of true (signal vs. noise) cases from decision outcomes.
  • plot.FFTrees() now has a grayscale argument which, if TRUE, creates a gray scale plot.
Show all changes in 2.1.0Hide the rest of the changes in 2.1.0

<!-- Costs: -->

Decision costs:

  • Increased value of cost_cues_default from 0 to 1, so that default cue costs correspond to mcu.

Details

  • Fixed bug for missing plot title.
  • Added @aliases FFTrees-package to documentation of main FFTrees() function.
  • Removed redundant data_old folder.

<!-- Development version: -->

The current development version of **FFTrees** is available at <https://github.com/ndphillips/FFTrees>.

<!-- Older versions: -->

------

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 8.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-02
Show 2 earlier changesHide 2 earlier changes
  • ERROR11 OK, 1 ERROR2026-04-25
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.0
READMEYes · 1,913 wordsVignettesYes · 7 · dynamicNEWSYes · 67% structured · mentions 2.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
52 (4 internal)includes a package overview page
Examples that run
100%7 run in a plain check
Exported functions with examples
20%
Documented parameters
97%
Return-value docs
100%
Help pages citing references
13%

Downloads

7.1K
CRAN downloads in the past year
Rank #6,417 · ~20/day · ~594/mo
Daily download trend is not available in this view yet.
58430 days
1.3K90 days
7.1K1 year
Compare downloads with other packages →
Also on100 r2u4 autocran1.8K conda_forge

Repository

138Stars
25Forks
13Open issues
1Open PRs
9Releases
2,270Commits
10Commit identities
2,270 commits · Last activity 2026-05-02 · 0% stars, 30d · Default branch at 2.1.0.9001, ahead of CRAN 2.1.0 (checked 2026-10-18) · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
99%
Median days to close, 50 most recently updated closed issues
12
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-25 · 1352026-09-14 · 138
PracticesBeta

8 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/ndphillips/fftrees on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (1)

The repository owner accepts GitHub Sponsors

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-05-02 · The repository has a site deploy workflow

pkgdown site last built 2026-05-02

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing FFTrees adds 84 packages (43 with compiled code, 54 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (4)
Author, Maintainer since 1.7.0 (2022) · added in 1.3.2
Author · added in 1.7.0
Author · added in 1.3.2

Previously maintained by Nathaniel Phillips (1.0.1 to 1.6.6).

Listed in earlier versions (1)
Wolfgang Gaissmaer
no longer listed · 1.3.2 to 1.6.6
Releases (23)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.0Latest
    record
    2025-09-03 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.0
    record
    2023-06-06 · diff ↗ ·
    added 13 exports
    add_fft_df, add_nodes, describe_data, drop_nodes, edit_nodes, flip_exits, get_best_tree, get_exit_type, get_fft_df, read_fft_df, reorder_nodes, select_nodes, write_fft_df
  • R
    R 4.3.0 released · 2023-04-21
  • 1.9.0
    record
    2023-02-08 · diff ↗
  • 1.8.0
    record
    2023-01-06 · diff ↗
  • 1.7.5
    record
    2022-09-15 · diff ↗
  • 1.7.0
    record
    2022-08-31 · diff ↗
  • unarchivedReturned to CRAN
    2022-07-18
  • 1.6.6
    record
    2022-07-18 · diff ↗
  • 1.6.5
    record
    2022-07-18 · diff ↗ ·
    added 3 exports
    fftrees_apply, fftrees_create, fftrees_define
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • archivedRemoved from CRAN
    2020-07-23
    check problems were not corrected in time
Show 22 earlier eventsHide 22 earlier events
  • unarchivedReturned to CRAN
    2020-06-08
  • 1.5.5
    record
    2020-06-08 · diff ↗ ·
    removed 6 exports
    FFForest, cuerank, grow.FFTrees, heuristic.algorithm, updateHistory, wordstoFFT
    added 5 exports
    fftrees_cuerank, fftrees_ffttowords, fftrees_threshold_factor_grid, fftrees_threshold_numeric_grid, fftrees_wordstofftrees
  • R
    R 4.0.0 released · 2020-04-24
  • archivedRemoved from CRAN
    2020-03-07
    check problems were not corrected despite reminders
  • R
    R 3.6.0 released · 2019-04-26
  • 1.4.0
    record
    2018-09-15 · diff ↗ ·
    removed 6 exports
    apply.tree, auc, classtable, comp.pred, factclean, fan.algorithm
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3.5
    record
    2017-11-02 · diff ↗ ·
    added 1 export
    updateHistory
  • 1.3.4
    record
    2017-08-28 · diff ↗
  • 1.3.3
    record
    2017-07-11 · diff ↗
  • 1.3.2
    record
    2017-06-28 · diff ↗ ·
    added 4 exports
    fan.algorithm, heuristic.algorithm, inwords, wordstoFFT
  • 1.2.3
    record
    2017-05-04 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.2
    record
    2017-04-18 · diff ↗ ·
    removed 3 exports
    cart.pred, fft, lr.pred
    added 3 exports
    FFForest, apply.tree, comp.pred
  • 1.1.8
    record
    2016-10-08 · diff ↗
  • 1.1.6
    record
    2016-09-10 · diff ↗ ·
    removed 1 export
    transparent
  • 1.1.4
    record
    2016-08-23 · diff ↗ ·
    removed 1 export
    grow.ffts
    added 2 exports
    FFTrees, grow.FFTrees
  • 1.1.3
    record
    2016-08-16 · diff ↗ ·
    added 2 exports
    factclean, showcues
  • 1.1.1
    record
    2016-07-22 · diff ↗ ·
    added 1 export
    FFTrees.guide
  • 1.1.0
    record
    2016-07-19 · diff ↗ ·
    removed 3 exports
    applyfft, simfft, simfftplot
    added 5 exports
    auc, cart.pred, grow.ffts, lr.pred, transparent
  • 1.0.1
    record
    2016-07-12
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-07-12
Total releases
23 / 10 yrs
License
CC0
Minimum R
≥ 3.5.0
Bundled data
240 KB / 17 files
Download size
3.2 MB

Cite

Cite this package

Run in R for the authors' entry:

citation("FFTrees")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1017/s1930297500006239.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for FFTrees version 2.1.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy