print.gamsel: print a gamsel object

Description Usage Arguments Details Value Author(s) References See Also

View source: R/print.gamsel.R

Description

Print a summary of the gamsel path at each step along the path

Usage

1
2
## S3 method for class 'gamsel'
print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

x

fitted gamsel object

digits

significant digits in printout

...

additional print arguments

Details

The call that produced the object x is printed, followed by a five-column matrix with columns NonZero, Lin, NonLin, %Dev and Lambda. The first three columns say how many nonzero, linear and nonlinear terms there are. %Dev is the percent deviance explained (relative to the null deviance).

Value

The matrix above is silently returned

Author(s)

Alexandra Chouldechova and Trevor Hastie
Maintainer: Trevor Hastie hastie@stanford.edu

References

Chouldechova, A. and Hastie, T. (2015) Generalized Additive Model Selection

See Also

predict.gamsel, cv.gamsel, plot.gamsel, summary.gamsel, basis.gen


gamsel documentation built on Feb. 4, 2022, 5:09 p.m.