Learn R Programming

gamsel (version 1.8-5)

print.gamsel: print a gamsel object

Description

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

Usage

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

Value

The matrix above is silently returned

Arguments

x

fitted gamsel object

digits

significant digits in printout

...

additional print arguments

Author

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

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).

References

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

See Also

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