View source: R/print.cv.clime.R
print.cv.clime | R Documentation |
Print a summary of the cv.clime object.
## S3 method for class 'cv.clime' print(x,digits = max(3, getOption("digits") - 3), ... )
x |
cv.clime object. |
digits |
significant digits in printout. |
... |
additional print options. |
This call outputs first a three column matrix with lambda
, mean
and sd
for the cross validation loss values. The actual loss
used and the optimal lambda
value picked by cv are printed.
The output above is invisibly returned.
T. Tony Cai, Weidong Liu and Xi (Rossi) Luo
Maintainer: Xi (Rossi) Luo xi.rossi.luo@gmail.com
Cai, T.T., Liu, W., and Luo, X. (2011). A constrained \ell_1 minimization approach for sparse precision matrix estimation. Journal of the American Statistical Association 106(494): 594-607.
## trivial example n <- 50 p <- 5 X <- matrix(rnorm(n*p), nrow=n) re.clime <- clime(X) re.cv <- cv.clime(re.clime) print(re.cv)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.