Description Usage Arguments Details Author(s) References See Also Examples
Produces a coefficient profile plot of the coefficient paths for a
fitted "glmnet"
object.
1 2 3 4 5 6 | ## S3 method for class 'glmnet'
plot(x, xvar = c("norm", "lambda", "dev"), label = FALSE, ...)
## S3 method for class 'multnet'
plot(x, xvar = c("norm", "lambda", "dev"), label = FALSE,type.coef=c("coef","2norm"), ...)
## S3 method for class 'mrelnet'
plot(x, xvar = c("norm", "lambda", "dev"), label = FALSE,type.coef=c("coef","2norm"), ...)
|
x |
fitted |
xvar |
What is on the X-axis. |
label |
If |
type.coef |
If |
... |
Other graphical parameters to plot |
A coefficient profile plot is produced. If x
is a multinomial
model, a coefficient plot is produced for each class.
Jerome Friedman, Trevor Hastie and Rob Tibshirani
Maintainer: Trevor Hastie <hastie@stanford.edu>
Friedman, J., Hastie, T. and Tibshirani, R. (2008) Regularization Paths for Generalized Linear Models via Coordinate Descent
glmnet
, and print
, predict
and coef
methods.
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.