FFTrees
2.1.0Generate, Visualise, and Evaluate Fast-and-Frugal Decision Trees
Overview
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.
Install
Health
- OK2026-06-0913 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-06-0812 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-05-0213 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-2511 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 97%
- Return-value docs
- 100%
- References docs
- 13%
Downloads
Repository
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Repository practices
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ndphillips/fftrees on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 5.0 median / 130 max
- Test cases
- 19 / 0.04 per code line
Test coverage
Line coverage
67%
Expression
60.5%
Tests / Examples
67.0% / 68% ex
Functions
71 25 exported
Complexity
10.5 avg / 130 max
Call network
71 nodes / 101 edges
Call graph
Open call graph →Lowest coverage
71 functions| Function | Cyclo | Coverage |
|---|---|---|
| FFTrees.guide exp | 1 | 0% |
| describe_data exp | 1 | 0% |
| inwords exp | 3 | 0% |
| select_nodes exp | 11 | 0% |
| add_quotes | 1 | 0% |
| all_combinations | 6 | 0% |
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| blood | data.frame | 748 × 5 | – |
| breastcancer | tbl_df/tbl/data.frame | 683 × 10 | – |
| car | data.frame | 1,728 × 7 | – |
| contraceptive | data.frame | 1,473 × 10 | – |
| creditapproval | data.frame | 690 × 16 | – |
| fertility | data.frame | 100 × 10 | – |
| forestfires | data.frame | 517 × 13 | – |
| heart.test | tbl_df/tbl/data.frame | 153 × 14 | – |
| heart.train | tbl_df/tbl/data.frame | 150 × 14 | – |
| heartdisease | tbl_df/tbl/data.frame | 303 × 14 | – |
| iris.v | data.frame | 150 × 5 | – |
| mushrooms | data.frame | 8,124 × 23 | – |
| sonar | data.frame | 208 × 61 | – |
| titanic | data.frame | 2,201 × 4 | – |
| voting | data.frame | 434 × 17 | – |
| wine | data.frame | 6,497 × 13 | – |
People & History
23 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 2.1.0Latest
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 2.0.02023-06-06 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.9.02023-02-08 · diff ↗
- 1.8.02023-01-06 · diff ↗
- 1.7.52022-09-15 · diff ↗
- 1.7.02022-08-31 · diff ↗
- 1.6.62022-07-18 · diff ↗
- 1.6.52022-07-18 · diff ↗
- unarchivedReturned to CRAN2022-07-18
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- archivedRemoved from CRAN2020-07-23check problems were not corrected in time
Show 22 earlier events
- 1.5.52020-06-08 · diff ↗
- unarchivedReturned to CRAN2020-06-08
- RR 4.0.0 released · 2020-04-24
- archivedRemoved from CRAN2020-03-07check problems were not corrected despite reminders
- RR 3.6.0 released · 2019-04-26
- 1.4.02018-09-15 · diff ↗
- RR 3.5.0 released · 2018-04-23
- 1.3.52017-11-02 · diff ↗
- 1.3.42017-08-28 · diff ↗
- 1.3.32017-07-11 · diff ↗
- 1.3.22017-06-28 · diff ↗
- 1.2.32017-05-04 · diff ↗
- RR 3.4.0 released · 2017-04-21
- 1.2.22017-04-18 · diff ↗
- 1.1.82016-10-08 · diff ↗
- 1.1.62016-09-10 · diff ↗
- 1.1.42016-08-23 · diff ↗
- 1.1.32016-08-16 · diff ↗
- 1.1.12016-07-22 · diff ↗
- 1.1.02016-07-19 · diff ↗
- 1.0.12016-07-12
- RR 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
- Installed size
- not tracked yet
- With dependencies
- not tracked yet