Phase-transition plot for a pic.phase_transition object.
Source: R/plots.R
plot.pic.phase_transition.RdPlots the chosen recovery metric as a function of the sparsity
level s. Curves are distinguished by line type (grayscale ramp
beyond five curves). When multiple (n, p) configurations are
compared across several penalties, panels are laid out in a grid
with at most three columns per row.
Arguments
- x
An object returned by
phase_transition().- metric
One of
"exact_recovery"(default),"tpr","fdr".- ...
Additional graphical parameters forwarded to
graphics::plot().