print.ADMMnet {ADMMnet}R Documentation

Print a ADMMnet Object

Description

Print a summary of results along the path of lambda.

Usage

## S3 method for class 'ADMMnet'
print(x, digits = 4, ...)

Arguments

x

fitted ADMMnet object

digits

significant digits in printout

...

additional print arguments

Details

The performed model is printed, followed by fit and fit0 (if any) from a fitted ADMMnet object.

Value

The data frame above is silently returned

Author(s)

Xiang Li, Shanghong Xie, Donglin Zeng and Yuanjia Wang
Maintainer: Xiang Li <xl2473@cumc.columbia.edu>

See Also

ADMMnet

Examples

###  Linear model  ###
set.seed(1213)
N=100;p=30;p1=5
x=matrix(rnorm(N*p),N,p)
beta=rnorm(p1)
xb=x[,1:p1]
y=rnorm(N,xb)

fiti=ADMMnet(x,y,penalty="Lasso",nlambda=10,nfolds=10) # Lasso
fiti

[Package ADMMnet version 0.1.1 Index]