### 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,...)"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.