R/jerr.mrelnet.R

jerr.mrelnet=function(n,maxit,pmax){
    if(n==90000){
      msg=paste("Newton stepping for bounded multivariate response did not converge")
      list(n=n,fatal=FALSE,msg=msg)
    }
    else jerr.elnet(n,maxit,pmax)
}
jeffwong/glmnet documentation built on May 19, 2019, 4:02 a.m.