ndphillips / FFTrees

An R package to create and visualise fast-and-frugal decision trees (FFTs)
https://journal.sjdm.org/17/17217/jdm17217.pdf
135 stars 23 forks source link

Add plot(FFTrees, grayscale = TRUE) argument to allow printing to grayscale #209

Closed ndphillips closed 7 months ago

ndphillips commented 8 months ago

Suggestion by Guido Williams:

Dear Nathaniel,

I have a question regarding the plot functions in the FFT package. Is there a simple way to print all plots/output in black and white/greyscale? For instance: plot(heart.fft, color = FALSE) or is there another way? This would be very convenient for publication purposes.

ndphillips commented 8 months ago

My reaction: There is no out of the box way to do this. It should be an easy addition though. Would just need to override the icon color arguments.

ndphillips commented 7 months ago

Addressing in https://github.com/ndphillips/FFTrees/pull/210