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

## Documentation for package ‘FFTrees’ version 2.1.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

add_fft_df | Add an FFT definition to tree definitions
add_nodes | Add nodes to an FFT definition
add_stats | Add decision statistics to data (based on frequency counts of a 2x2 matrix of classification outcomes)
blood | Blood donation data
breastcancer | Breast cancer data
car | Car acceptability data
classtable | Compute classification statistics for binary prediction and criterion (e.g.; truth) vectors
contraceptive | Contraceptive use data
creditapproval | Credit approval data
describe_data | Describe data
drop_nodes | Drop a node from an FFT definition
edit_nodes | Edit nodes in an FFT definition
fact_clean | Clean factor variables in prediction data
fertility | Fertility data
FFTrees | Main function to create and apply fast-and-frugal trees (FFTs)
FFTrees-function | Main function to create and apply fast-and-frugal trees (FFTs)
FFTrees.guide | Open the *FFTrees* package guide
fftrees_cuerank | Calculate thresholds that optimize some statistic (goal) for cues in data
fftrees_ffttowords | Describe a fast-and-frugal tree (FFT) in words
fftrees_grow_fan | Grow fast-and-frugal trees (FFTs) using the 'fan' algorithms
fftrees_ranktrees | Rank FFTs by current goal
fftrees_threshold_factor_grid | Perform a grid search over factor and return accuracy statistics for a given factor cue
fftrees_threshold_numeric_grid | Perform a grid search over thresholds and return accuracy statistics for a given numeric cue
fftrees_wordstofftrees | Convert a verbal description of an FFT into an 'FFTrees' object
flip_exits | Flip exits in an FFT definition
forestfires | Forest fires data
get_best_tree | Select the best tree (from current set of FFTs)
get_exit_type | Get exit type (from a vector 'x' of FFT exit descriptions)
get_fft_df | Get FFT definitions (from an 'FFTrees' object 'x')
heart.cost | Cue costs for the 'heartdisease' data
heart.test | Heart disease testing data
heart.train | Heart disease training data
heartdisease | Heart disease data
inwords | Provide a verbal description of an FFT
iris.v | Iris data
mushrooms | Mushrooms data
plot.FFTrees | Plot an 'FFTrees' object
predict.FFTrees | Predict classification outcomes or probabilities from data
print.FFTrees | Print basic information of fast-and-frugal trees (FFTs)
read_fft_df | Read an FFT definition from tree definitions
reorder_nodes | Reorder nodes in an FFT definition
select_nodes | Select nodes from an FFT definition
showcues | Visualize cue accuracies (as points in ROC space)
sonar | Sonar data
summary.FFTrees | Summarize an 'FFTrees' object
titanic | Titanic survival data
voting | Voting data
wine | Wine tasting data
write_fft_df | Write an FFT definition to tree definitions