View source: R/showcues_function.R
| showcues | R Documentation |
showcues plots the cue accuracies of an FFTrees object
created by the FFTrees function (as points in ROC space).
If the optional arguments cue.accuracies and alt.goal are specified,
their values take precedence over the corresponding settings of an FFTrees object x
(but do not change x).
showcues is called when the main plot.FFTrees function is set to what = "cues".
showcues(
x = NULL,
cue.accuracies = NULL,
alt.goal = NULL,
main = NULL,
top = 5,
quiet = list(ini = TRUE, fin = FALSE, set = TRUE),
...
)
x |
An |
cue.accuracies |
An optional data frame specifying cue accuracies directly (without specifying |
alt.goal |
An optional alternative goal to sort the current cue accuracies (without using the goal of |
main |
A main plot title (as character string). |
top |
How many of the top cues should be highlighted (as an integer)? |
quiet |
Should user feedback messages be suppressed (as a list of 3 logical arguments)?
Default: |
... |
Graphical parameters (passed to |
A plot showing cue accuracies (of an FFTrees object) (as points in ROC space).
print.FFTrees for printing FFTs;
plot.FFTrees for plotting FFTs;
summary.FFTrees for summarizing FFTs;
FFTrees for creating FFTs from and applying them to data.
Other plot functions:
plot.FFTrees()
# Create fast-and-frugal trees (FFTs) for heart disease:
heart.fft <- FFTrees(formula = diagnosis ~ .,
data = heart.train,
data.test = heart.test,
main = "Heart Disease",
decision.labels = c("Healthy", "Diseased")
)
# Show cue accuracies (in ROC space):
showcues(heart.fft,
main = "Predicting heart disease")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.