Produces a sparse-matrix/loss/tuning-value plot
for a fitted "abessrpca
" object.
A "abessrpca
" object.
The plot type.
One of the following:
"S"
(i.e., a heatmap for the sparse matrix estimation),
"loss"
(i.e., a support.size versus loss plot),
and "tune"
(i.e., , a support.size versus tuning value plot).
Default is "coef"
.
An integer vector specifies
the sparse matrix fitted at given support.size
to be returned.
If support.size = NULL
, then the sparse matrix with
the least tuning value would be returned.
Default: support.size = NULL
.
A logical value.
If label = TRUE
(the default),
label the curves with variable sequence numbers.
Other graphical parameters to plot
or stats::heatmap
function
No return value, called for side effects.