R/predict.fishnet.R

predict.fishnet=function(object,newx,s=NULL,type=c("link","response","coefficients","nonzero"),exact=FALSE,offset,...){
  type=match.arg(type)
nfit=NextMethod("predict")
  switch(type,
         response=exp(nfit),
         nfit
         )
}  
jeffwong/glmnet documentation built on May 19, 2019, 4:02 a.m.