R/plot.cv.l2.reg.R

plot.cv.l2.reg <- function(x, ...)
{
 plot.args<-list(log(x$lam.vec),x$mean.error,xlab="log(Lambda)",ylab="CV Error")
  
  do.call("plot", plot.args) 
  do.call("lines", plot.args)
}

Try the CDLasso package in your browser

Any scripts or data that you put into this service are public.

CDLasso documentation built on May 1, 2019, 8:02 p.m.