Produces a coefficient profile plot of a fitted
sparsegl()
object. The result is a ggplot2::ggplot()
. Additional user
modifications can be added as desired.
Arguments
- x
Fitted
"sparsegl"
object, produced bysparsegl()
.- y_axis
Variable on the y_axis. Either the coefficients (default) or the group norm.
- x_axis
Variable on the x-axis. Either the (log)-lambda sequence (default) or the value of the penalty. In the second case, the penalty is scaled by its maximum along the path.
- add_legend
Show the legend. Often, with many groups/predictors, this can become overwhelming. The default produces a legend if the number of groups/predictors is less than 20.
- ...
Not used.