Learn R Programming

plsmselect (version 0.2.0)

print.gamlasso: Print a gamlasso object

Description

The default print method for a gamlasso object

Usage

# S3 method for 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

Run this code
# NOT RUN {
## Please see the examples in ?gamlasso
# }

Run the code above in your browser using DataLab