Learn R Programming

uniLasso (version 2.11)

print.cv.uniReg: print a cross-validated uniReg object

Description

Print a summary of the results of cross-validation for a uniReg model.

Usage

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

Value

A summary is printed, and nothing is returned.

Arguments

x

fitted 'cv.uniReg' object

digits

significant digits in printout

...

additional print arguments

Author

Trevor Hastie and Rob Tibshirani
Maintainer: Trevor Hastie hastie@stanford.edu

Details

A summary of the cross-validated uniReg fit is produced. This is an augmented summary of a cv.glmnet object, with an extra row corresponding to the smallest lambda in the path

Examples

Run this code

x = matrix(rnorm(100 * 20), 100, 20)
y = rnorm(100)
fit1 = cv.uniReg(x, y)
print(fit1)

Run the code above in your browser using DataLab