Usage
"plot"(x, xvar=c("lam","step"), yvar=c("coef","newy","lam","dim","R-sq"),
newx, step.interval, lam.interval, predictors, ...)
Arguments
xvar
penalty level or plus step as the variable for the horizontal axis in the plot. Default is "lam".
yvar
paths of coefficients, predictions, penalty level, the number of nonzero coefficients or R-square
as the variable for the vertical axis in the plot. Default is "coef"
newx
x values at which the fit is required. If newx is not set and yvar is "newy", no plot is produced.
step.interval
lower and upper bounds of the x-axis in the plot when xvar is "step". Defult covers all
steps in the computed path.
lam.interval
lower and upper bounds of the x-axis in the plot when xvar is "lam". Default covers
all penalty levels in the computed path.
predictors
a subset of predictors for which coefficients are plotted. Default is the entire set of predictors.
...
Additonal arguments for generic methods