- x
An FFTrees
object created by the FFTrees
function.
- data
The type of data in x
to be plotted (as a string) or a test dataset (as a data frame).
A valid data string must be either 'train'
(for fitting performance) or 'test'
(for prediction performance).
For a valid data frame, the specified tree is evaluated and plotted for this data (as 'test' data),
but the global FFTrees
object x
remains unchanged unless it is re-assigned.
By default, data = 'train'
(as x
may not contain test data).
- what
What should be plotted (as a character string)? Valid options are:
- 'all'
Plot the tree diagram with all corresponding guides and performance statistics, but excluding cue accuracies.
- 'cues'
Plot only the marginal accuracy of cues in ROC space.
Note that cue accuracies are not shown when calling what = 'all'
and use the showcues
function.
- 'icontree'
Plot tree diagram with icon arrays on exit nodes.
Consider also setting n.per.icon
and show.iconguide
.
- 'tree'
Plot only the tree diagram.
- 'roc'
Plot only the performance of tree(s) (and comparison algorithms) in ROC space.
Default: what = 'all'
.
tree
The tree to be plotted (as an integer, only valid when the corresponding tree argument is non-empty).
Default: tree = 1
.
To plot the best training or best test tree with respect to the goal
specified during FFT construction,
use 'best.train'
or 'best.test'
, respectively.
main
The main plot label (as a character string).
cue.labels
An optional string of labels for the cues / nodes (as character vector).
decision.labels
A character vector of length 2 indicating the content-specific names for noise and signal predictions/exits.
cue.cex
The size of the cue labels (as numeric).
threshold.cex
The size of the threshold labels (as numeric).
decision.cex
The size of the decision labels (as numeric).
comp
Should the performance of competitive algorithms (e.g.; logistic regression, random forests, etc.)
be shown in the ROC plot (if available, as logical)?
show.header
Show header with basic data properties (in top panel, as logical)?
show.tree
Show nodes and exits of FFT (in middle panel, as logical)?
show.confusion
Show a 2x2 confusion matrix (in bottom panel, as logical)?
show.levels
Show performance levels (in bottom panel, as logical)?
show.roc
Show ROC curve (in bottom panel, as logical)?
show.icons
Show exit cases as icon arrays (in middle panel, as logical)?
show.iconguide
Show icon guide (in middle panel, as logical)?
hlines
Show horizontal panel separation lines (as logical)?
Default: hlines = TRUE
.
label.tree
A label for the FFT (optional, as character string).
label.performance
A label for the performance section (optional, as character string).
n.per.icon
The number of cases represented by each icon (as numeric).
level.type
The type of performance levels to be drawn at the bottom (as character string, either "bar"
or "line"
.
Default: level.type = "bar"
.
which.tree
Deprecated argument. Use tree
instead.
decision.names
Deprecated argument. Use decision.labels
instead.
stats
Deprecated argument. Should statistical information be plotted (as logical)?
Use what = "all"
to include performance statistics
and what = "tree"
to plot only a tree diagram.
...
Graphical parameters (passed to text of panel titles,
to showcues
when what = 'cues'
, or
to title
when what = 'roc'
).