Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.optPenaltyFusedGrid

Print and plot functions for fused grid-based cross-validation


Description

Print and plot functions for the output from optPenalty.fused.grid which performs a grid based cross-validation (CV) search to find optimal penalty parameters. Currently, only the complete penalty graph is supported.

Usage

## S3 method for class 'optPenaltyFusedGrid'
print(x, ...)

## S3 method for class 'optPenaltyFusedGrid'
plot(
  x,
  add.text = TRUE,
  add.contour = TRUE,
  col = rainbow(100, end = 0.8),
  ...
)

Arguments

x

A optPenaltyFusedGrid-object print or plot. Usually the output of
optPenalty.fused.grid.

...

Arguments passed on. In print.optPenaltyFusedGrid the arguments are passed to print.matrix. In plot.optPenaltyFusedGrid are passed to the standard plot function.

add.text

A logical value controlling if the text should be added to the plot.

add.contour

A logical value controlling if the contour lines should be added to the plot.

col

A character vector of colours used in the image plot.

Value

Invisibly returns the object (x).

Author(s)

Anders Ellern Bilgrau, Carel F.W. Peeters <cf.peeters@vumc.nl>, Wessel N. van Wieringen

References

Bilgrau, A.E., Peeters, C.F.W., Eriksen, P.S., Boegsted, M., and van Wieringen, W.N. (2020). Targeted Fused Ridge Estimation of Inverse Covariance Matrices from Multiple High-Dimensional Data Classes. Journal of Machine Learning Research, 21(26): 1-52.

See Also


rags2ridges

Ridge Estimation of Precision Matrices from High-Dimensional Data

v2.2.4
GPL (>= 2)
Authors
Carel F.W. Peeters [cre, aut], Anders Ellern Bilgrau [aut], Wessel N. van Wieringen [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.