summary.FFTrees {FFTrees} | R Documentation |
Summarize an FFTrees
object
Description
summary.FFTrees
summarizes key contents of an FFTrees
object.
Usage
## S3 method for class 'FFTrees'
summary(object, tree = NULL, ...)
Arguments
object |
An |
tree |
The tree to summarize (as an integer, but may be a vector).
If |
... |
Additional arguments (currently ignored). |
Details
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 oftree
s; -
stats
on decision frequencies, derived probabilities, and costs (separated bytrain
andtest
).
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.
Value
An invisible list with elements containing the definitions
and performance stats
of the FFT(s) specified by tree
(s).
See Also
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.