| plot.glmreg | R Documentation |
Produces a coefficient profile plot of the coefficient paths for a
fitted "glmreg" object.
## S3 method for class 'glmreg'
plot(x, xvar = c("norm", "lambda", "dev"), label = FALSE, shade=TRUE, ...)
x |
fitted |
xvar |
What is on the X-axis. |
label |
If |
shade |
Should nonconvex region be shaded? Default is TRUE. Code developed for all |
... |
Other graphical parameters to plot |
A coefficient profile plot is produced.
Zhu Wang wangz1@uthscsa.edu
glmreg, and print, predict and coef methods.
x=matrix(rnorm(100*20),100,20) y=rnorm(100) fit1=glmreg(x,y) plot(fit1) plot(fit1,xvar="lambda",label=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.