print.FFTrees {FFTrees} | R Documentation |
Print basic information of fast-and-frugal trees (FFTs)
Description
print.FFTrees
prints basic information on FFTs for an FFTrees
object x
.
As x
may not contain test data, print.FFTrees
by default prints the performance characteristics for training data (i.e., fitting), rather than for test data (i.e., for prediction).
When test data is available, specify data = "test"
to print prediction performance.
Usage
## S3 method for class 'FFTrees'
print(x = NULL, tree = 1, data = "train", ...)
Arguments
x |
An |
tree |
The tree to be printed (as an integer, only valid when the corresponding tree argument is non-empty).
Default: |
data |
The type of data in
By default, |
... |
additional arguments passed to |
Value
An invisible FFTrees
object x
and summary information on an FFT printed to the console (as side effect).
See Also
plot.FFTrees
for plotting FFTs;
summary.FFTrees
for summarizing FFTs;
inwords
for obtaining a verbal description of FFTs;
FFTrees
for creating FFTs from and applying them to data.