R/predict.fishnet.R

Defines functions predict.fishnet

Documented in predict.fishnet

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
         )
}  
DexGroves/glmnet documentation built on May 6, 2019, 2:12 p.m.