R/coef.cv.glmgraph.R

coef.cv.glmgraph <- function(object,s=c("lambda1.min","lambda1.1se"),...){
      s <- match.arg(s)
      if(s=="lambda1.min") return(object$beta.min)
      else if(s=="lambda1.1se") return(object$beta.1se)
      else stop("Invalid type")
}

Try the glmgraph package in your browser

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

glmgraph documentation built on May 1, 2019, 7:04 p.m.