Produces a plot of the coefficient paths for a fitted ncvreg
object.
# S3 method for class 'ncvreg'
plot(x, alpha = 1, log.l = FALSE, shade = TRUE, col, ...)
Fitted "ncvreg"
model.
Controls alpha-blending, helpful when the number of features is large. Default is alpha=1.
Should horizontal axis be on the log scale? Default is FALSE.
Should nonconvex region be shaded? Default is TRUE.
Vector of colors for coefficient lines. By default, evenly spaced colors are selected automatically.
Other graphical parameters to plot()
Breheny P and Huang J. (2011) Coordinate descent algorithms for nonconvex penalized regression, with applications to biological feature selection. Annals of Applied Statistics, 5: 232-253. doi:10.1214/10-AOAS388