Print the results of a train object.
# S3 method for train print(x, printCall = FALSE, details = FALSE, selectCol = FALSE, showSD = FALSE, ...)
| x | an object of class |
|---|---|
| printCall | a logical to print the call at the top of the output |
| details | a logical to show print or summary methods for the final
model. In some cases (such as |
| selectCol | a logical whether to add a column with a star next to the selected parameters |
| showSD | a logical whether to show the standard deviation of the resampling results within parentheses (e.g. "4.24 (0.493)") |
| ... | options passed to |
A matrix with the complexity parameters and performance (invisibly).
The table of complexity parameters used, their resampled performance and a flag for which rows are optimal.