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.
# S3 method for optPenaltyFusedGrid
print(x, ...)# S3 method for optPenaltyFusedGrid
plot(x, add.text = TRUE, add.contour = TRUE, col = rainbow(100, end = 0.8), ...)
A optPenaltyFusedGrid
-object print or plot.
Usually the output of
optPenalty.fused.grid
.
A logical
value controlling if the text should be added to the plot.
A logical
value controlling if the contour lines should be added to the plot.
A character
vector of colours used in the image plot.
Arguments passed on.
In print.optPenaltyFusedGrid
the arguments are passed to print.matrix
.
In plot.optPenaltyFusedGrid
are passed to the standard plot
function.
Invisibly returns the object (x
).
Bilgrau, A.E., Peeters, C.F.W., Eriksen, P.S., Boegsted, M., and van Wieringen, W.N. (2015). Targeted Fused Ridge Estimation of Inverse Covariance Matrices from Multiple High-Dimensional Data Classes, arXiv:1509.07982v1 [stat.ME].