R/plot.glmreg.R

Defines functions plot.glmreg

Documented in plot.glmreg

### from glmnet version 1.9-1 package
plot.glmreg=function(x, xvar=c("norm","lambda","dev"),label=FALSE,shade=TRUE, ...){
xvar=match.arg(xvar)
which <- x$lambda
if(length(which)>1) 
eval(parse(text="glmnet:::plotCoef(x$beta,lambda=x$lambda,df=x$df,dev=x$dev.ratio,label=label,xvar=xvar,...)"))
}
zhuwang46/mpath documentation built on March 21, 2022, 4:27 a.m.