View source: R/summaryFFTrees_function.R
| summary.FFTrees | R Documentation |
FFTrees objectsummary.FFTrees summarizes key contents of an FFTrees object.
## S3 method for class 'FFTrees'
summary(object, tree = NULL, ...)
object |
An |
tree |
The tree to summarize (as an integer, but may be a vector).
If |
... |
Additional arguments (currently ignored). |
Given an FFTrees object x,
summary.FFTrees selects key parameters from x$params
and provides the definitions and performance statistics for tree from x$trees.
Inspect and query x for additional details.
summary.FFTrees returns an invisible list containing two elements:
definitions and corresponding performance measures of trees;
stats on decision frequencies, derived probabilities, and costs (separated by train and test).
A header prints descriptive information of the FFTrees object (to the console):
Its main title, number of trees (object$trees$n), and the name of the criterion variable (object$criterion_name).
Per default, information on all available trees is shown and returned.
Specifying tree filters the output list elements for the corresponding tree(s).
When only a single tree is specified, the printed header includes a verbal description of
the corresponding tree.
While summary.FFTrees provides key details about the specified tree(s),
the individual decisions (stored in object$trees$decisions) are not shown or returned.
An invisible list with elements containing the definitions and performance stats
of the FFT(s) specified by tree(s).
print.FFTrees for printing FFTs;
plot.FFTrees for plotting FFTs;
inwords for obtaining a verbal description of FFTs;
FFTrees for creating FFTs from and applying them to data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.