Description Usage Arguments Details See Also Examples
View source: R/print.sprinter.R
Print a summary of the sprinter fit at each step along the path of tuning parameters used in Step 3, for any given tuning parameter in Step 1.
1 2 |
fit |
A |
which |
Which tuning parameter of Step 1 to print. Default is 1. |
digits |
Significant digits in printout. |
... |
Additional print arguments. |
The function produces a three-column matrix with tuning parameter values (in Step 3), number of nonzero main effects, and the number of nonzero interactions.
Adopted from the function print.rgam
from package relgam
by Kenneth Tay and Robert Tibshirani.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.