print.lrome: print a lrome object

Description Usage Arguments Details Value References Examples

View source: R/print.lrome.R

Description

Print a summary of the lrome path at each step along the path.

Usage

1
2
## S3 method for class 'lrome'
print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

x

fitted lrome object

digits

significant digits in printout

...

additional print arguments

Details

The call that produced the lrome object is printed, followed by a two-column matrix with columns Df and Lambda. The Df column is the number of nonzero coefficients.

Value

a two-column matrix, the first columns is the number of nonzero coefficients and the second column is Lambda.

References

Yang, Y. and Zou, H. (2012), "An Efficient Algorithm for Computing The HHSVM and Its Generalizations," Journal of Computational and Graphical Statistics, 22, 396-415.
BugReport: https://github.com/emeryyi/fastcox.git

Friedman, J., Hastie, T., and Tibshirani, R. (2010), "Regularization paths for generalized linear models via coordinate descent," Journal of Statistical Software, 33, 1.
http://www.jstatsoft.org/v33/i01/

Examples

1
2
3
data(FHT)
m1 <- lrome(x=FHT$x,y=FHT$y,delta=1,lambda2=0.1)
print(m1)

emeryyi/rome documentation built on May 6, 2019, 9:53 a.m.