Produces a series of coefficient profile plots of the coefficient paths for a
fitted "sparsenet" object.
Usage
## S3 method for class 'sparsenet'
plot(x, xvar = c("rsq","lambda","norm"), which.gamma=NULL, label = FALSE,...)
Arguments
x
fitted "sparsenet" model
xvar
What is on the X-axis. "rsq" plots against the
percent variance explained on the training data, "lambda" against the log-lambda
sequence, and "norm" plots against the
L1-norm of the coefficients
which.gamma
sequence numbers of gamma values to be used
in the plots; default is all used in the fit
label
If TRUE, label the curves with variable sequence numbers.
...
Other graphical parameters to plot
Details
A series of coefficient profile plots is produced, one for each
gamma specified. Users should set up the appropriate layout.