Generate, Visualise, and Compare Fast and Frugal Decision Trees

Create, visualise, and test fast and frugal decision trees (FFTrees). FFTrees are very simple decision trees for classifying cases (i.e.; breast cancer patients) into one of two classes (e.g.; no cancer vs. true cancer) based on a small number of cues (e.g.; test results). FFTrees can be preferable to more complex algorithms because they are easy to communicate, require very little information, and are robust against overfitting.

An R package to create and visualize fast and frugal decision trees (FFTrees)


  • Trees can now use the same cue multiple times within a tree. To do this, set rank.method = "c" and repeat.cues = TRUE.

  • Bug-fixes

    • You can (and should!) now have a column of NAs for the criterion in test datasets to represent data where the criterion is unknown.
    • FFTrees() now supports a single predictor (e.g.; formula = diagnosis ~ age) which previously did not work.


  • Streamlined code to improve cohesion between functions. This may cause issues with FFTrees objects created with earlier versions of the package. They will need to be re-created.

  • Updated, clearer print.FFTrees() method to see important info about an FFTrees object in matrix format.

  • Training and testing statistics are now always in seperate objects (e.g.; data$train, data$test) to avoid confusion.

  • Bug-fixes

    • predict.FFTrees() now works much better by passing a new dataset (data.test) as a test dataset for an existing FFTrees object.


  • Bug-fixes
    • Plotting parameters mar and layout are now reset after running plot.FFTrees()


  • Bug-fixes

    • Plotting no longer fails when there is only one branch in the tree.
    • Changed which.tree argument in plot.FFTrees() to tree to conform to blog posts.
    • predict.FFTrees() now works better with tibble inputs.
  • Changed the fft label to FFTrees throughout the package to avoid confusion with fast fourier transform. Thus, the main tree building function is now FFTrees() and the new tree object class is FFTrees


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.3 by Nathaniel Phillips, 23 days ago

Report a bug at

Browse source code at

Authors: Nathaniel Phillips [aut, cre]

Documentation:   PDF Manual  

CC0 license

Imports rpart, yarrr, MASS, circlize, mlbench, graphics, randomForest, igraph, snow, snowfall, e1071

Suggests knitr, rmarkdown

See at CRAN