print.gamlasso {plsmselect}R Documentation

Print a gamlasso object

Description

The default print method for a gamlasso object

Usage

## S3 method for class 'gamlasso'
print(x, ...)

Arguments

x

fitted model object of the class gamlasso as produced by gamlasso

...

Other arguments

Details

Outputs a list of two. lasso prints the lasso model (the same output as print(object$cv.glmnet$glmnet.fit)) if it is non-null and gam prints the gam model (the same output as print(object$gam)) if it is non-null.

See Also

gamlasso, summary.gamlasso, print.gam, print.glmnet.

Examples

## Please see the examples in ?gamlasso

[Package plsmselect version 0.2.0 Index]